summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_HtmlMeterElement.rs
blob: 997245636212e8733ede936822b6ff101117075c (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
#![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 = HTMLMeterElement , typescript_type = "HTMLMeterElement")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `HtmlMeterElement` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub type HtmlMeterElement;
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = value)]
    #[doc = "Getter for the `value` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn value(this: &HtmlMeterElement) -> f64;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = value)]
    #[doc = "Setter for the `value` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn set_value(this: &HtmlMeterElement, value: f64);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = min)]
    #[doc = "Getter for the `min` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn min(this: &HtmlMeterElement) -> f64;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = min)]
    #[doc = "Setter for the `min` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn set_min(this: &HtmlMeterElement, value: f64);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = max)]
    #[doc = "Getter for the `max` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn max(this: &HtmlMeterElement) -> f64;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = max)]
    #[doc = "Setter for the `max` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn set_max(this: &HtmlMeterElement, value: f64);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = low)]
    #[doc = "Getter for the `low` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn low(this: &HtmlMeterElement) -> f64;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = low)]
    #[doc = "Setter for the `low` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn set_low(this: &HtmlMeterElement, value: f64);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = high)]
    #[doc = "Getter for the `high` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn high(this: &HtmlMeterElement) -> f64;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = high)]
    #[doc = "Setter for the `high` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn set_high(this: &HtmlMeterElement, value: f64);
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = optimum)]
    #[doc = "Getter for the `optimum` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn optimum(this: &HtmlMeterElement) -> f64;
    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = optimum)]
    #[doc = "Setter for the `optimum` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
    pub fn set_optimum(this: &HtmlMeterElement, value: f64);
    #[cfg(feature = "NodeList")]
    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = labels)]
    #[doc = "Getter for the `labels` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/labels)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`, `NodeList`*"]
    pub fn labels(this: &HtmlMeterElement) -> NodeList;
}