Trait windows::Win32::Media::Speech::ISpeechGrammarRule_Impl

pub trait ISpeechGrammarRule_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn Attributes(&self) -> Result<SpeechRuleAttributes>;
    fn InitialState(&self) -> Result<ISpeechGrammarRuleState>;
    fn Name(&self) -> Result<BSTR>;
    fn Id(&self) -> Result<i32>;
    fn Clear(&self) -> Result<()>;
    fn AddResource(
        &self,
        resourcename: &BSTR,
        resourcevalue: &BSTR,
    ) -> Result<()>;
    fn AddState(&self) -> Result<ISpeechGrammarRuleState>;
}

Required Methods§

fn Attributes(&self) -> Result<SpeechRuleAttributes>

fn InitialState(&self) -> Result<ISpeechGrammarRuleState>

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

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

fn Clear(&self) -> Result<()>

fn AddResource(&self, resourcename: &BSTR, resourcevalue: &BSTR) -> Result<()>

fn AddState(&self) -> Result<ISpeechGrammarRuleState>

Object Safety§

This trait is not object safe.

Implementors§