diff options
Diffstat (limited to 'vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs b/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs new file mode 100644 index 000000000..9c84bcf92 --- /dev/null +++ b/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.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 = RTCOfferAnswerOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `RtcOfferAnswerOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `RtcOfferAnswerOptions`*"] + pub type RtcOfferAnswerOptions; +} +impl RtcOfferAnswerOptions { + #[doc = "Construct a new `RtcOfferAnswerOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `RtcOfferAnswerOptions`*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } +} +impl Default for RtcOfferAnswerOptions { + fn default() -> Self { + Self::new() + } +} |