Struct speech_dispatcher::Connection [−][src]
pub struct Connection(pub *mut SPDConnection, _);
Tuple Fields
0: *mut SPDConnection
Implementations
pub fn open<S: Into<String>>(
client_name: S,
connection_name: S,
user_name: S,
mode: Mode
) -> Result<Self, SpeechDispatcherError>
pub unsafe fn open2<S: Into<String>>(
client_name: S,
connection_name: S,
user_name: S,
mode: Mode,
address: *mut Address,
autospawn: bool
) -> Self
pub fn set_synthesis_voice_uid<S: Into<String>>(
&self,
voice_name: S,
target_uid: u32
) -> bool
pub fn set_capital_letters_uid(
&self,
capital_letters: CapitalLetters,
target_uid: u32
) -> bool
pub fn set_output_module_uid<S: Into<String>>(
&self,
output_module: S,
target_uid: u32
) -> bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl !Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
Blanket Implementations
Mutably borrows from an owned value. Read more