summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs
blob: ab89c6e318033c9d091086712c1d786309884897 (plain)
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
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLEmbedElement , typescript_type = "HTMLEmbedElement")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `HtmlEmbedElement` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub type HtmlEmbedElement;
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = src)]
    #[doc = "Getter for the `src` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn src(this: &HtmlEmbedElement) -> String;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = src)]
    #[doc = "Setter for the `src` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn set_src(this: &HtmlEmbedElement, value: &str);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = type)]
    #[doc = "Getter for the `type` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn type_(this: &HtmlEmbedElement) -> String;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = type)]
    #[doc = "Setter for the `type` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn set_type(this: &HtmlEmbedElement, value: &str);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = width)]
    #[doc = "Getter for the `width` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn width(this: &HtmlEmbedElement) -> String;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = width)]
    #[doc = "Setter for the `width` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn set_width(this: &HtmlEmbedElement, value: &str);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = height)]
    #[doc = "Getter for the `height` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn height(this: &HtmlEmbedElement) -> String;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = height)]
    #[doc = "Setter for the `height` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn set_height(this: &HtmlEmbedElement, value: &str);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = align)]
    #[doc = "Getter for the `align` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn align(this: &HtmlEmbedElement) -> String;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = align)]
    #[doc = "Setter for the `align` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn set_align(this: &HtmlEmbedElement, value: &str);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = name)]
    #[doc = "Getter for the `name` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn name(this: &HtmlEmbedElement) -> String;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = name)]
    #[doc = "Setter for the `name` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
    pub fn set_name(this: &HtmlEmbedElement, value: &str);
    #[cfg(feature = "Document")]
    # [wasm_bindgen (method , structural , js_class = "HTMLEmbedElement" , js_name = getSVGDocument)]
    #[doc = "The `getSVGDocument()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/getSVGDocument)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlEmbedElement`*"]
    pub fn get_svg_document(this: &HtmlEmbedElement) -> Option<Document>;
}