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