Trait windows::Win32::Media::Speech::ISpeechGrammarRuleState_Impl
pub trait ISpeechGrammarRuleState_Impl: Sized + IDispatch_Impl {
// Required methods
fn Rule(&self) -> Result<ISpeechGrammarRule>;
fn Transitions(&self) -> Result<ISpeechGrammarRuleStateTransitions>;
fn AddWordTransition(
&self,
deststate: Option<&ISpeechGrammarRuleState>,
words: &BSTR,
separators: &BSTR,
type: SpeechGrammarWordType,
propertyname: &BSTR,
propertyid: i32,
propertyvalue: *const VARIANT,
weight: f32,
) -> Result<()>;
fn AddRuleTransition(
&self,
destinationstate: Option<&ISpeechGrammarRuleState>,
rule: Option<&ISpeechGrammarRule>,
propertyname: &BSTR,
propertyid: i32,
propertyvalue: *const VARIANT,
weight: f32,
) -> Result<()>;
fn AddSpecialTransition(
&self,
destinationstate: Option<&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: Option<&ISpeechGrammarRuleState>, words: &BSTR, separators: &BSTR, type: SpeechGrammarWordType, propertyname: &BSTR, propertyid: i32, propertyvalue: *const VARIANT, weight: f32, ) -> Result<()>
fn AddRuleTransition( &self, destinationstate: Option<&ISpeechGrammarRuleState>, rule: Option<&ISpeechGrammarRule>, propertyname: &BSTR, propertyid: i32, propertyvalue: *const VARIANT, weight: f32, ) -> Result<()>
fn AddSpecialTransition( &self, destinationstate: Option<&ISpeechGrammarRuleState>, type: SpeechSpecialTransitionType, propertyname: &BSTR, propertyid: i32, propertyvalue: *const VARIANT, weight: f32, ) -> Result<()>
Object Safety§
This trait is not object safe.