]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Media/SpeechSynthesis/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Media / SpeechSynthesis / mod.rs
1 #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"]
2 #[repr(transparent)]
3 pub struct SpeechAppendedSilence(pub i32);
4 impl SpeechAppendedSilence {
5 pub const Default: Self = Self(0i32);
6 pub const Min: Self = Self(1i32);
7 }
8 impl ::core::marker::Copy for SpeechAppendedSilence {}
9 impl ::core::clone::Clone for SpeechAppendedSilence {
10 fn clone(&self) -> Self {
11 *self
12 }
13 }
14 #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"]
15 #[repr(transparent)]
16 pub struct SpeechPunctuationSilence(pub i32);
17 impl SpeechPunctuationSilence {
18 pub const Default: Self = Self(0i32);
19 pub const Min: Self = Self(1i32);
20 }
21 impl ::core::marker::Copy for SpeechPunctuationSilence {}
22 impl ::core::clone::Clone for SpeechPunctuationSilence {
23 fn clone(&self) -> Self {
24 *self
25 }
26 }
27 pub type SpeechSynthesisStream = *mut ::core::ffi::c_void;
28 pub type SpeechSynthesizer = *mut ::core::ffi::c_void;
29 pub type SpeechSynthesizerOptions = *mut ::core::ffi::c_void;
30 #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"]
31 #[repr(transparent)]
32 pub struct VoiceGender(pub i32);
33 impl VoiceGender {
34 pub const Male: Self = Self(0i32);
35 pub const Female: Self = Self(1i32);
36 }
37 impl ::core::marker::Copy for VoiceGender {}
38 impl ::core::clone::Clone for VoiceGender {
39 fn clone(&self) -> Self {
40 *self
41 }
42 }
43 pub type VoiceInformation = *mut ::core::ffi::c_void;