1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLFieldSetElement , typescript_type = "HTMLFieldSetElement")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `HtmlFieldSetElement` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
13     pub type HtmlFieldSetElement;
14     # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = disabled)]
15     #[doc = "Getter for the `disabled` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/disabled)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
20     pub fn disabled(this: &HtmlFieldSetElement) -> bool;
21     # [wasm_bindgen (structural , method , setter , js_class = "HTMLFieldSetElement" , js_name = disabled)]
22     #[doc = "Setter for the `disabled` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/disabled)"]
25     #[doc = ""]
new(vertex: &GpuVertexState) -> Self26     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
27     pub fn set_disabled(this: &HtmlFieldSetElement, value: bool);
28     #[cfg(feature = "HtmlFormElement")]
29     # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = form)]
30     #[doc = "Getter for the `form` field of this object."]
31     #[doc = ""]
32     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/form)"]
33     #[doc = ""]
34     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`, `HtmlFormElement`*"]
35     pub fn form(this: &HtmlFieldSetElement) -> Option<HtmlFormElement>;
36     # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = name)]
37     #[doc = "Getter for the `name` field of this object."]
38     #[doc = ""]
label(&mut self, val: &str) -> &mut Self39     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/name)"]
40     #[doc = ""]
41     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
42     pub fn name(this: &HtmlFieldSetElement) -> String;
43     # [wasm_bindgen (structural , method , setter , js_class = "HTMLFieldSetElement" , js_name = name)]
44     #[doc = "Setter for the `name` field of this object."]
45     #[doc = ""]
46     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/name)"]
47     #[doc = ""]
48     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
49     pub fn set_name(this: &HtmlFieldSetElement, value: &str);
50     # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = type)]
51     #[doc = "Getter for the `type` field of this object."]
52     #[doc = ""]
53     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/type)"]
54     #[doc = ""]
55     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
56     pub fn type_(this: &HtmlFieldSetElement) -> String;
layout(&mut self, val: &GpuPipelineLayout) -> &mut Self57     #[cfg(feature = "HtmlCollection")]
58     # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = elements)]
59     #[doc = "Getter for the `elements` field of this object."]
60     #[doc = ""]
61     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/elements)"]
62     #[doc = ""]
63     #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlFieldSetElement`*"]
64     pub fn elements(this: &HtmlFieldSetElement) -> HtmlCollection;
65     # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = willValidate)]
66     #[doc = "Getter for the `willValidate` field of this object."]
67     #[doc = ""]
68     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/willValidate)"]
69     #[doc = ""]
70     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
71     pub fn will_validate(this: &HtmlFieldSetElement) -> bool;
72     #[cfg(feature = "ValidityState")]
73     # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = validity)]
74     #[doc = "Getter for the `validity` field of this object."]
75     #[doc = ""]
depth_stencil(&mut self, val: &GpuDepthStencilState) -> &mut Self76     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/validity)"]
77     #[doc = ""]
78     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`, `ValidityState`*"]
79     pub fn validity(this: &HtmlFieldSetElement) -> ValidityState;
80     # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLFieldSetElement" , js_name = validationMessage)]
81     #[doc = "Getter for the `validationMessage` field of this object."]
82     #[doc = ""]
83     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/validationMessage)"]
84     #[doc = ""]
85     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
86     pub fn validation_message(this: &HtmlFieldSetElement) -> Result<String, JsValue>;
87     # [wasm_bindgen (method , structural , js_class = "HTMLFieldSetElement" , js_name = checkValidity)]
88     #[doc = "The `checkValidity()` method."]
89     #[doc = ""]
90     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/checkValidity)"]
91     #[doc = ""]
92     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
93     pub fn check_validity(this: &HtmlFieldSetElement) -> bool;
94     # [wasm_bindgen (method , structural , js_class = "HTMLFieldSetElement" , js_name = reportValidity)]
95     #[doc = "The `reportValidity()` method."]
96     #[doc = ""]
97     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/reportValidity)"]
fragment(&mut self, val: &GpuFragmentState) -> &mut Self98     #[doc = ""]
99     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
100     pub fn report_validity(this: &HtmlFieldSetElement) -> bool;
101     # [wasm_bindgen (method , structural , js_class = "HTMLFieldSetElement" , js_name = setCustomValidity)]
102     #[doc = "The `setCustomValidity()` method."]
103     #[doc = ""]
104     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/setCustomValidity)"]
105     #[doc = ""]
106     #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
107     pub fn set_custom_validity(this: &HtmlFieldSetElement, error: &str);
108 }
109