Trait ISpeechRecognitionConstraint_Impl
pub trait ISpeechRecognitionConstraint_Impl: IUnknownImpl {
// Required methods
fn IsEnabled(&self) -> Result<bool>;
fn SetIsEnabled(&self, value: bool) -> Result<()>;
fn Tag(&self) -> Result<HSTRING>;
fn SetTag(&self, value: &HSTRING) -> Result<()>;
fn Type(&self) -> Result<SpeechRecognitionConstraintType>;
fn Probability(&self) -> Result<SpeechRecognitionConstraintProbability>;
fn SetProbability(
&self,
value: SpeechRecognitionConstraintProbability,
) -> Result<()>;
}
Required Methods§
fn IsEnabled(&self) -> Result<bool>
fn SetIsEnabled(&self, value: bool) -> Result<()>
fn Tag(&self) -> Result<HSTRING>
fn SetTag(&self, value: &HSTRING) -> Result<()>
fn Type(&self) -> Result<SpeechRecognitionConstraintType>
fn Probability(&self) -> Result<SpeechRecognitionConstraintProbability>
fn SetProbability( &self, value: SpeechRecognitionConstraintProbability, ) -> 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.