web_sys/features/
gen_RtcOfferAnswerOptions.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCOfferAnswerOptions)]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `RtcOfferAnswerOptions` dictionary."]
10    #[doc = ""]
11    #[doc = "*This API requires the following crate features to be activated: `RtcOfferAnswerOptions`*"]
12    pub type RtcOfferAnswerOptions;
13}
14impl RtcOfferAnswerOptions {
15    #[doc = "Construct a new `RtcOfferAnswerOptions`."]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `RtcOfferAnswerOptions`*"]
18    pub fn new() -> Self {
19        #[allow(unused_mut)]
20        let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
21        ret
22    }
23}
24impl Default for RtcOfferAnswerOptions {
25    fn default() -> Self {
26        Self::new()
27    }
28}