blob: 8bdb1ba167fd1e8c64707dad200966f89360e65e [file] [log] [blame]
Chris Wailescd1aefd2023-07-13 13:36:21 -07001#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScreenLuminance , typescript_type = "ScreenLuminance")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `ScreenLuminance` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `ScreenLuminance`*"]
13 pub type ScreenLuminance;
14 # [wasm_bindgen (structural , method , getter , js_class = "ScreenLuminance" , js_name = min)]
15 #[doc = "Getter for the `min` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/min)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `ScreenLuminance`*"]
20 pub fn min(this: &ScreenLuminance) -> f64;
21 # [wasm_bindgen (structural , method , getter , js_class = "ScreenLuminance" , js_name = max)]
22 #[doc = "Getter for the `max` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/max)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `ScreenLuminance`*"]
27 pub fn max(this: &ScreenLuminance) -> f64;
28 # [wasm_bindgen (structural , method , getter , js_class = "ScreenLuminance" , js_name = maxAverage)]
29 #[doc = "Getter for the `maxAverage` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/maxAverage)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `ScreenLuminance`*"]
34 pub fn max_average(this: &ScreenLuminance) -> f64;
35}