]>
git.proxmox.com Git - rustc.git/blob - vendor/web-sys/src/features/gen_HtmlScriptElement.rs
1 #![allow(unused_imports)]
3 use wasm_bindgen
::prelude
::*;
6 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLScriptElement , typescript_type = "HTMLScriptElement")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `HtmlScriptElement` class."]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement)"]
12 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
13 pub type HtmlScriptElement
;
14 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = src)]
15 #[doc = "Getter for the `src` field of this object."]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/src)"]
19 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
20 pub fn src(this
: &HtmlScriptElement
) -> String
;
21 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = src)]
22 #[doc = "Setter for the `src` field of this object."]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/src)"]
26 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
27 pub fn set_src(this
: &HtmlScriptElement
, value
: &str);
28 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = type)]
29 #[doc = "Getter for the `type` field of this object."]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/type)"]
33 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
34 pub fn type_(this
: &HtmlScriptElement
) -> String
;
35 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = type)]
36 #[doc = "Setter for the `type` field of this object."]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/type)"]
40 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
41 pub fn set_type(this
: &HtmlScriptElement
, value
: &str);
42 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = noModule)]
43 #[doc = "Getter for the `noModule` field of this object."]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule)"]
47 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
48 pub fn no_module(this
: &HtmlScriptElement
) -> bool
;
49 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = noModule)]
50 #[doc = "Setter for the `noModule` field of this object."]
52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule)"]
54 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
55 pub fn set_no_module(this
: &HtmlScriptElement
, value
: bool
);
56 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = charset)]
57 #[doc = "Getter for the `charset` field of this object."]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/charset)"]
61 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
62 pub fn charset(this
: &HtmlScriptElement
) -> String
;
63 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = charset)]
64 #[doc = "Setter for the `charset` field of this object."]
66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/charset)"]
68 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
69 pub fn set_charset(this
: &HtmlScriptElement
, value
: &str);
70 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = async)]
71 #[doc = "Getter for the `async` field of this object."]
73 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/async)"]
75 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
76 pub fn r
#async(this: &HtmlScriptElement) -> bool;
77 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = async)]
78 #[doc = "Setter for the `async` field of this object."]
80 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/async)"]
82 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
83 pub fn set_async(this
: &HtmlScriptElement
, value
: bool
);
84 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = defer)]
85 #[doc = "Getter for the `defer` field of this object."]
87 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/defer)"]
89 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
90 pub fn defer(this
: &HtmlScriptElement
) -> bool
;
91 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = defer)]
92 #[doc = "Setter for the `defer` field of this object."]
94 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/defer)"]
96 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
97 pub fn set_defer(this
: &HtmlScriptElement
, value
: bool
);
98 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = crossOrigin)]
99 #[doc = "Getter for the `crossOrigin` field of this object."]
101 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/crossOrigin)"]
103 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
104 pub fn cross_origin(this
: &HtmlScriptElement
) -> Option
<String
>;
105 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = crossOrigin)]
106 #[doc = "Setter for the `crossOrigin` field of this object."]
108 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/crossOrigin)"]
110 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
111 pub fn set_cross_origin(this
: &HtmlScriptElement
, value
: Option
<&str>);
112 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLScriptElement" , js_name = text)]
113 #[doc = "Getter for the `text` field of this object."]
115 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/text)"]
117 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
118 pub fn text(this
: &HtmlScriptElement
) -> Result
<String
, JsValue
>;
119 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLScriptElement" , js_name = text)]
120 #[doc = "Setter for the `text` field of this object."]
122 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/text)"]
124 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
125 pub fn set_text(this
: &HtmlScriptElement
, value
: &str) -> Result
<(), JsValue
>;
126 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = event)]
127 #[doc = "Getter for the `event` field of this object."]
129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/event)"]
131 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
132 pub fn event(this
: &HtmlScriptElement
) -> String
;
133 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = event)]
134 #[doc = "Setter for the `event` field of this object."]
136 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/event)"]
138 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
139 pub fn set_event(this
: &HtmlScriptElement
, value
: &str);
140 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = htmlFor)]
141 #[doc = "Getter for the `htmlFor` field of this object."]
143 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/htmlFor)"]
145 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
146 pub fn html_for(this
: &HtmlScriptElement
) -> String
;
147 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = htmlFor)]
148 #[doc = "Setter for the `htmlFor` field of this object."]
150 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/htmlFor)"]
152 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
153 pub fn set_html_for(this
: &HtmlScriptElement
, value
: &str);
154 # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = integrity)]
155 #[doc = "Getter for the `integrity` field of this object."]
157 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/integrity)"]
159 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
160 pub fn integrity(this
: &HtmlScriptElement
) -> String
;
161 # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = integrity)]
162 #[doc = "Setter for the `integrity` field of this object."]
164 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/integrity)"]
166 #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
167 pub fn set_integrity(this
: &HtmlScriptElement
, value
: &str);