Trait ISpeechGrammarRuleState_Impl
pub trait ISpeechGrammarRuleState_Impl: IDispatch_Impl {
// Required methods
fn Rule(&self) -> Result<ISpeechGrammarRule>;
fn Transitions(&self) -> Result<ISpeechGrammarRuleStateTransitions>;
fn AddWordTransition(
&self,
deststate: Ref<'_, ISpeechGrammarRuleState>,
words: &BSTR,
separators: &BSTR,
type: SpeechGrammarWordType,
propertyname: &BSTR,
propertyid: i32,
propertyvalue: *const VARIANT,
weight: f32,
) -> Result<()>;
fn AddRuleTransition(
&self,
destinationstate: Ref<'_, ISpeechGrammarRuleState>,
rule: Ref<'_, ISpeechGrammarRule>,
propertyname: &BSTR,
propertyid: i32,
propertyvalue: *const VARIANT,
weight: f32,
) -> Result<()>;
fn AddSpecialTransition(
&self,
destinationstate: Ref<'_, ISpeechGrammarRuleState>,
type: SpeechSpecialTransitionType,
propertyname: &BSTR,
propertyid: i32,
propertyvalue: *const VARIANT,
weight: f32,
) -> Result<()>;
}
Required Methods§
fn Rule(&self) -> Result<ISpeechGrammarRule>
fn Transitions(&self) -> Result<ISpeechGrammarRuleStateTransitions>
fn AddWordTransition( &self, deststate: Ref<'_, ISpeechGrammarRuleState>, words: &BSTR, separators: &BSTR, type: SpeechGrammarWordType, propertyname: &BSTR, propertyid: i32, propertyvalue: *const VARIANT, weight: f32, ) -> Result<()>
fn AddRuleTransition( &self, destinationstate: Ref<'_, ISpeechGrammarRuleState>, rule: Ref<'_, ISpeechGrammarRule>, propertyname: &BSTR, propertyid: i32, propertyvalue: *const VARIANT, weight: f32, ) -> Result<()>
fn AddSpecialTransition( &self, destinationstate: Ref<'_, ISpeechGrammarRuleState>, type: SpeechSpecialTransitionType, propertyname: &BSTR, propertyid: i32, propertyvalue: *const VARIANT, weight: f32, ) -> 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.