1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "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`*"] min(this: &ScreenLuminance) -> f6420 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`*"] max(this: &ScreenLuminance) -> f6427 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`*"] max_average(this: &ScreenLuminance) -> f6434 pub fn max_average(this: &ScreenLuminance) -> f64; 35 } 36