windows::Win32::Media::Speech

Trait ISpeechObjectTokenCategory_Impl

pub trait ISpeechObjectTokenCategory_Impl: IDispatch_Impl {
    // Required methods
    fn Id(&self) -> Result<BSTR>;
    fn SetDefault(&self, tokenid: &BSTR) -> Result<()>;
    fn Default(&self) -> Result<BSTR>;
    fn SetId(&self, id: &BSTR, createifnotexist: VARIANT_BOOL) -> Result<()>;
    fn GetDataKey(
        &self,
        location: SpeechDataKeyLocation,
    ) -> Result<ISpeechDataKey>;
    fn EnumerateTokens(
        &self,
        requiredattributes: &BSTR,
        optionalattributes: &BSTR,
    ) -> Result<ISpeechObjectTokens>;
}

Required Methods§

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

fn SetDefault(&self, tokenid: &BSTR) -> Result<()>

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

fn SetId(&self, id: &BSTR, createifnotexist: VARIANT_BOOL) -> Result<()>

fn GetDataKey(&self, location: SpeechDataKeyLocation) -> Result<ISpeechDataKey>

fn EnumerateTokens( &self, requiredattributes: &BSTR, optionalattributes: &BSTR, ) -> Result<ISpeechObjectTokens>

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§