diff options
Diffstat (limited to 'vendor/web-sys/src/features/gen_RtcAnswerOptions.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_RtcAnswerOptions.rs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs b/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs new file mode 100644 index 000000000..a3d7bcea5 --- /dev/null +++ b/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs @@ -0,0 +1,27 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCAnswerOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `RtcAnswerOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `RtcAnswerOptions`*"] + pub type RtcAnswerOptions; +} +impl RtcAnswerOptions { + #[doc = "Construct a new `RtcAnswerOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `RtcAnswerOptions`*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } +} +impl Default for RtcAnswerOptions { + fn default() -> Self { + Self::new() + } +} |