diff options
Diffstat (limited to 'vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs b/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs new file mode 100644 index 000000000..2f36d5d1c --- /dev/null +++ b/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.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 = MediaCapabilitiesInfo , typescript_type = "MediaCapabilitiesInfo")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `MediaCapabilitiesInfo` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"] + pub type MediaCapabilitiesInfo; + # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = supported)] + #[doc = "Getter for the `supported` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/supported)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"] + pub fn supported(this: &MediaCapabilitiesInfo) -> bool; + # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = smooth)] + #[doc = "Getter for the `smooth` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/smooth)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"] + pub fn smooth(this: &MediaCapabilitiesInfo) -> bool; + # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = powerEfficient)] + #[doc = "Getter for the `powerEfficient` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/powerEfficient)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"] + pub fn power_efficient(this: &MediaCapabilitiesInfo) -> bool; +} |