diff options
Diffstat (limited to 'vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs b/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs new file mode 100644 index 000000000..b0dd1aebe --- /dev/null +++ b/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs @@ -0,0 +1,35 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRSubmitFrameResult , typescript_type = "VRSubmitFrameResult")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `VrSubmitFrameResult` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `VrSubmitFrameResult`*"] + pub type VrSubmitFrameResult; + # [wasm_bindgen (structural , method , getter , js_class = "VRSubmitFrameResult" , js_name = frameNum)] + #[doc = "Getter for the `frameNum` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/frameNum)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `VrSubmitFrameResult`*"] + pub fn frame_num(this: &VrSubmitFrameResult) -> u32; + # [wasm_bindgen (structural , method , getter , js_class = "VRSubmitFrameResult" , js_name = base64Image)] + #[doc = "Getter for the `base64Image` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/base64Image)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `VrSubmitFrameResult`*"] + pub fn base64_image(this: &VrSubmitFrameResult) -> Option<String>; + #[wasm_bindgen(catch, constructor, js_class = "VRSubmitFrameResult")] + #[doc = "The `new VrSubmitFrameResult(..)` constructor, creating a new instance of `VrSubmitFrameResult`."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/VRSubmitFrameResult)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `VrSubmitFrameResult`*"] + pub fn new() -> Result<VrSubmitFrameResult, JsValue>; +} |