summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_VrFieldOfView.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/src/features/gen_VrFieldOfView.rs')
-rw-r--r--vendor/web-sys/src/features/gen_VrFieldOfView.rs42
1 files changed, 42 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_VrFieldOfView.rs b/vendor/web-sys/src/features/gen_VrFieldOfView.rs
new file mode 100644
index 000000000..45621b219
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrFieldOfView.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRFieldOfView , typescript_type = "VRFieldOfView")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrFieldOfView` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub type VrFieldOfView;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = upDegrees)]
+ #[doc = "Getter for the `upDegrees` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/upDegrees)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub fn up_degrees(this: &VrFieldOfView) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = rightDegrees)]
+ #[doc = "Getter for the `rightDegrees` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/rightDegrees)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub fn right_degrees(this: &VrFieldOfView) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = downDegrees)]
+ #[doc = "Getter for the `downDegrees` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/downDegrees)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub fn down_degrees(this: &VrFieldOfView) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = leftDegrees)]
+ #[doc = "Getter for the `leftDegrees` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/leftDegrees)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub fn left_degrees(this: &VrFieldOfView) -> f64;
+}