windows::Win32::Media::Speech

Trait ISpeechPhoneConverter_Impl

pub trait ISpeechPhoneConverter_Impl: IDispatch_Impl {
    // Required methods
    fn LanguageId(&self) -> Result<i32>;
    fn SetLanguageId(&self, languageid: i32) -> Result<()>;
    fn PhoneToId(&self, phonemes: &BSTR) -> Result<VARIANT>;
    fn IdToPhone(&self, idarray: &VARIANT) -> Result<BSTR>;
}

Required Methods§

fn LanguageId(&self) -> Result<i32>

fn SetLanguageId(&self, languageid: i32) -> Result<()>

fn PhoneToId(&self, phonemes: &BSTR) -> Result<VARIANT>

fn IdToPhone(&self, idarray: &VARIANT) -> Result<BSTR>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§