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 = SpeechSynthesisVoice , typescript_type = "SpeechSynthesisVoice")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `SpeechSynthesisVoice` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
13     pub type SpeechSynthesisVoice;
14     # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = voiceURI)]
15     #[doc = "Getter for the `voiceURI` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/voiceURI)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
voice_uri(this: &SpeechSynthesisVoice) -> String20     pub fn voice_uri(this: &SpeechSynthesisVoice) -> String;
21     # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = name)]
22     #[doc = "Getter for the `name` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/name)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
name(this: &SpeechSynthesisVoice) -> String27     pub fn name(this: &SpeechSynthesisVoice) -> String;
28     # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = lang)]
29     #[doc = "Getter for the `lang` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/lang)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
lang(this: &SpeechSynthesisVoice) -> String34     pub fn lang(this: &SpeechSynthesisVoice) -> String;
35     # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = localService)]
36     #[doc = "Getter for the `localService` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/localService)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
local_service(this: &SpeechSynthesisVoice) -> bool41     pub fn local_service(this: &SpeechSynthesisVoice) -> bool;
42     # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = default)]
43     #[doc = "Getter for the `default` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/default)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
default(this: &SpeechSynthesisVoice) -> bool48     pub fn default(this: &SpeechSynthesisVoice) -> bool;
49 }
50