maxcountryman_web_sys/features/
gen_HtmlMetaElement.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLMetaElement , typescript_type = "HTMLMetaElement")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `HtmlMetaElement` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
13 pub type HtmlMetaElement;
14 # [wasm_bindgen (structural , method , getter , js_class = "HTMLMetaElement" , js_name = name)]
15 #[doc = "Getter for the `name` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/name)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
20 pub fn name(this: &HtmlMetaElement) -> String;
21 # [wasm_bindgen (structural , method , setter , js_class = "HTMLMetaElement" , js_name = name)]
22 #[doc = "Setter for the `name` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/name)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
27 pub fn set_name(this: &HtmlMetaElement, value: &str);
28 # [wasm_bindgen (structural , method , getter , js_class = "HTMLMetaElement" , js_name = httpEquiv)]
29 #[doc = "Getter for the `httpEquiv` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/httpEquiv)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
34 pub fn http_equiv(this: &HtmlMetaElement) -> String;
35 # [wasm_bindgen (structural , method , setter , js_class = "HTMLMetaElement" , js_name = httpEquiv)]
36 #[doc = "Setter for the `httpEquiv` field of this object."]
37 #[doc = ""]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/httpEquiv)"]
39 #[doc = ""]
40 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
41 pub fn set_http_equiv(this: &HtmlMetaElement, value: &str);
42 # [wasm_bindgen (structural , method , getter , js_class = "HTMLMetaElement" , js_name = content)]
43 #[doc = "Getter for the `content` field of this object."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/content)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
48 pub fn content(this: &HtmlMetaElement) -> String;
49 # [wasm_bindgen (structural , method , setter , js_class = "HTMLMetaElement" , js_name = content)]
50 #[doc = "Setter for the `content` field of this object."]
51 #[doc = ""]
52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/content)"]
53 #[doc = ""]
54 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
55 pub fn set_content(this: &HtmlMetaElement, value: &str);
56 # [wasm_bindgen (structural , method , getter , js_class = "HTMLMetaElement" , js_name = scheme)]
57 #[doc = "Getter for the `scheme` field of this object."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/scheme)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
62 pub fn scheme(this: &HtmlMetaElement) -> String;
63 # [wasm_bindgen (structural , method , setter , js_class = "HTMLMetaElement" , js_name = scheme)]
64 #[doc = "Setter for the `scheme` field of this object."]
65 #[doc = ""]
66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/scheme)"]
67 #[doc = ""]
68 #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
69 pub fn set_scheme(this: &HtmlMetaElement, value: &str);
70}