web_sys/features/
gen_RtcAnswerOptions.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 = RTCAnswerOptions)]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `RtcAnswerOptions` dictionary."]
10    #[doc = ""]
11    #[doc = "*This API requires the following crate features to be activated: `RtcAnswerOptions`*"]
12    pub type RtcAnswerOptions;
13}
14impl RtcAnswerOptions {
15    #[doc = "Construct a new `RtcAnswerOptions`."]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `RtcAnswerOptions`*"]
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 RtcAnswerOptions {
25    fn default() -> Self {
26        Self::new()
27    }
28}