blob: 7cb9c0ff4459774eb937eb2e6fbbbd564a875dc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"]
#[repr(transparent)]
pub struct SpeechAppendedSilence(pub i32);
impl SpeechAppendedSilence {
pub const Default: Self = Self(0i32);
pub const Min: Self = Self(1i32);
}
impl ::core::marker::Copy for SpeechAppendedSilence {}
impl ::core::clone::Clone for SpeechAppendedSilence {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"]
#[repr(transparent)]
pub struct SpeechPunctuationSilence(pub i32);
impl SpeechPunctuationSilence {
pub const Default: Self = Self(0i32);
pub const Min: Self = Self(1i32);
}
impl ::core::marker::Copy for SpeechPunctuationSilence {}
impl ::core::clone::Clone for SpeechPunctuationSilence {
fn clone(&self) -> Self {
*self
}
}
pub type SpeechSynthesisStream = *mut ::core::ffi::c_void;
pub type SpeechSynthesizer = *mut ::core::ffi::c_void;
pub type SpeechSynthesizerOptions = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"]
#[repr(transparent)]
pub struct VoiceGender(pub i32);
impl VoiceGender {
pub const Male: Self = Self(0i32);
pub const Female: Self = Self(1i32);
}
impl ::core::marker::Copy for VoiceGender {}
impl ::core::clone::Clone for VoiceGender {
fn clone(&self) -> Self {
*self
}
}
pub type VoiceInformation = *mut ::core::ffi::c_void;
|