diff options
Diffstat (limited to 'vendor/web-sys/src/features/gen_HtmlEmbedElement.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_HtmlEmbedElement.rs | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs b/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs new file mode 100644 index 000000000..704b7d125 --- /dev/null +++ b/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs @@ -0,0 +1,106 @@ +#![allow(unused_imports)] +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>; +} |