Trait ISpeechLexicon_Impl
pub trait ISpeechLexicon_Impl: IDispatch_Impl {
// Required methods
fn GenerationId(&self) -> Result<i32>;
fn GetWords(
&self,
flags: SpeechLexiconType,
generationid: *mut i32,
words: OutRef<'_, ISpeechLexiconWords>,
) -> Result<()>;
fn AddPronunciation(
&self,
bstrword: &BSTR,
langid: i32,
partofspeech: SpeechPartOfSpeech,
bstrpronunciation: &BSTR,
) -> Result<()>;
fn AddPronunciationByPhoneIds(
&self,
bstrword: &BSTR,
langid: i32,
partofspeech: SpeechPartOfSpeech,
phoneids: *const VARIANT,
) -> Result<()>;
fn RemovePronunciation(
&self,
bstrword: &BSTR,
langid: i32,
partofspeech: SpeechPartOfSpeech,
bstrpronunciation: &BSTR,
) -> Result<()>;
fn RemovePronunciationByPhoneIds(
&self,
bstrword: &BSTR,
langid: i32,
partofspeech: SpeechPartOfSpeech,
phoneids: *const VARIANT,
) -> Result<()>;
fn GetPronunciations(
&self,
bstrword: &BSTR,
langid: i32,
typeflags: SpeechLexiconType,
) -> Result<ISpeechLexiconPronunciations>;
fn GetGenerationChange(
&self,
generationid: *mut i32,
ppwords: OutRef<'_, ISpeechLexiconWords>,
) -> Result<()>;
}
Required Methods§
fn GenerationId(&self) -> Result<i32>
fn GetWords( &self, flags: SpeechLexiconType, generationid: *mut i32, words: OutRef<'_, ISpeechLexiconWords>, ) -> Result<()>
fn AddPronunciation( &self, bstrword: &BSTR, langid: i32, partofspeech: SpeechPartOfSpeech, bstrpronunciation: &BSTR, ) -> Result<()>
fn AddPronunciationByPhoneIds( &self, bstrword: &BSTR, langid: i32, partofspeech: SpeechPartOfSpeech, phoneids: *const VARIANT, ) -> Result<()>
fn RemovePronunciation( &self, bstrword: &BSTR, langid: i32, partofspeech: SpeechPartOfSpeech, bstrpronunciation: &BSTR, ) -> Result<()>
fn RemovePronunciationByPhoneIds( &self, bstrword: &BSTR, langid: i32, partofspeech: SpeechPartOfSpeech, phoneids: *const VARIANT, ) -> Result<()>
fn GetPronunciations( &self, bstrword: &BSTR, langid: i32, typeflags: SpeechLexiconType, ) -> Result<ISpeechLexiconPronunciations>
fn GetGenerationChange( &self, generationid: *mut i32, ppwords: OutRef<'_, ISpeechLexiconWords>, ) -> Result<()>
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.