maxcountryman_web_sys/features/
gen_DeviceRotationRate.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = DeviceRotationRate , typescript_type = "DeviceRotationRate")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `DeviceRotationRate` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceRotationRate)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRate`*"]
13 pub type DeviceRotationRate;
14 # [wasm_bindgen (structural , method , getter , js_class = "DeviceRotationRate" , js_name = alpha)]
15 #[doc = "Getter for the `alpha` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceRotationRate/alpha)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRate`*"]
20 pub fn alpha(this: &DeviceRotationRate) -> Option<f64>;
21 # [wasm_bindgen (structural , method , getter , js_class = "DeviceRotationRate" , js_name = beta)]
22 #[doc = "Getter for the `beta` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceRotationRate/beta)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRate`*"]
27 pub fn beta(this: &DeviceRotationRate) -> Option<f64>;
28 # [wasm_bindgen (structural , method , getter , js_class = "DeviceRotationRate" , js_name = gamma)]
29 #[doc = "Getter for the `gamma` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceRotationRate/gamma)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRate`*"]
34 pub fn gamma(this: &DeviceRotationRate) -> Option<f64>;
35}