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
# [ 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 ) ] # [ allow ( clippy :: all ) ] pub struct Document { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] # [ allow ( clippy :: all ) ] 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 ) } } } ( ) } ; # [ allow ( clippy :: all ) ] impl core :: ops :: Deref for Document { type Target = Node ; # [ inline ] fn deref ( & self ) -> & Node { self . as_ref ( ) } } # [ allow ( clippy :: all ) ] impl From < Document > for Node { # [ inline ] fn from ( obj : Document ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } # [ allow ( clippy :: all ) ] impl AsRef < Node > for Document { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( clippy :: all ) ] impl From < Document > for EventTarget { # [ inline ] fn from ( obj : Document ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } # [ allow ( clippy :: all ) ] impl AsRef < EventTarget > for Document { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( clippy :: all ) ] impl From < Document > for Object { # [ inline ] fn from ( obj : Document ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_animations_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < :: js_sys :: Array as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAnimations()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations)\n\n*This API requires the following crate features to be activated: `Document`*" ] # [ allow ( clippy :: all ) ] pub fn get_animations ( & self , ) -> :: js_sys :: Array { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_animations_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Array 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_get_animations_Document ( self_ ) } ; < :: js_sys :: Array as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAnimations()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations)\n\n*This API requires the following crate features to be activated: `Document`*" ] # [ allow ( clippy :: all ) ] pub fn get_animations ( & self , ) -> :: 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] pub extern "C" fn __wbindgen_describe___widl_f_elements_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 ( ) ; < :: js_sys :: Array as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elementsFromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementsFromPoint)\n\n*This API requires the following crate features to be activated: `Document`*" ] # [ allow ( clippy :: all ) ] pub fn elements_from_point ( & self , x : f32 , y : f32 ) -> :: js_sys :: Array { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_elements_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 ) -> < :: js_sys :: Array 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_elements_from_point_Document ( self_ , x , y ) } ; < :: js_sys :: Array as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elementsFromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementsFromPoint)\n\n*This API requires the following crate features to be activated: `Document`*" ] # [ allow ( clippy :: all ) ] pub fn elements_from_point ( & self , x : f32 , y : f32 ) -> :: 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_box_quads_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < :: js_sys :: Array as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBoxQuads()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxQuads)\n\n*This API requires the following crate features to be activated: `Document`*" ] # [ allow ( clippy :: all ) ] pub fn get_box_quads ( & self , ) -> Result < :: js_sys :: Array , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_box_quads_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Array as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_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_box_quads_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 ( < :: js_sys :: Array as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBoxQuads()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxQuads)\n\n*This API requires the following crate features to be activated: `Document`*" ] # [ allow ( clippy :: all ) ] pub fn get_box_quads ( & self , ) -> Result < :: js_sys :: Array , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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" ) ) ) ] # [ allow ( clippy :: all ) ] 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`*" ] # [ allow ( clippy :: all ) ] 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 { le