windows::Win32::Media::Speech

Trait ISpeechAudioFormat_Impl

pub trait ISpeechAudioFormat_Impl: IDispatch_Impl {
    // Required methods
    fn Type(&self) -> Result<SpeechAudioFormatType>;
    fn SetType(&self, audioformat: SpeechAudioFormatType) -> Result<()>;
    fn Guid(&self) -> Result<BSTR>;
    fn SetGuid(&self, guid: &BSTR) -> Result<()>;
    fn GetWaveFormatEx(&self) -> Result<ISpeechWaveFormatEx>;
    fn SetWaveFormatEx(
        &self,
        speechwaveformatex: Ref<'_, ISpeechWaveFormatEx>,
    ) -> Result<()>;
}

Required Methods§

fn Type(&self) -> Result<SpeechAudioFormatType>

fn SetType(&self, audioformat: SpeechAudioFormatType) -> Result<()>

fn Guid(&self) -> Result<BSTR>

fn SetGuid(&self, guid: &BSTR) -> Result<()>

fn GetWaveFormatEx(&self) -> Result<ISpeechWaveFormatEx>

fn SetWaveFormatEx( &self, speechwaveformatex: Ref<'_, ISpeechWaveFormatEx>, ) -> 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.

Implementors§