pub struct SpeechRecognitionListConstraint(/* private fields */);
Implementations§
§impl SpeechRecognitionListConstraint
impl SpeechRecognitionListConstraint
pub fn IsEnabled(&self) -> Result<bool>
pub fn SetIsEnabled(&self, value: bool) -> Result<()>
pub fn Tag(&self) -> Result<HSTRING>
pub fn SetTag(&self, value: &HSTRING) -> Result<()>
pub fn Type(&self) -> Result<SpeechRecognitionConstraintType>
pub fn Probability(&self) -> Result<SpeechRecognitionConstraintProbability>
pub fn SetProbability( &self, value: SpeechRecognitionConstraintProbability ) -> Result<()>
pub fn Commands(&self) -> Result<IVector<HSTRING>>
pub fn Create<P0>(commands: P0) -> Result<SpeechRecognitionListConstraint>
pub fn CreateWithTag<P0>( commands: P0, tag: &HSTRING ) -> Result<SpeechRecognitionListConstraint>
Trait Implementations§
§impl Clone for SpeechRecognitionListConstraint
impl Clone for SpeechRecognitionListConstraint
§fn clone(&self) -> SpeechRecognitionListConstraint
fn clone(&self) -> SpeechRecognitionListConstraint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SpeechRecognitionListConstraint
impl Debug for SpeechRecognitionListConstraint
§impl From<&SpeechRecognitionListConstraint> for &IInspectable
impl From<&SpeechRecognitionListConstraint> for &IInspectable
§fn from(value: &SpeechRecognitionListConstraint) -> Self
fn from(value: &SpeechRecognitionListConstraint) -> Self
Converts to this type from the input type.
§impl From<&SpeechRecognitionListConstraint> for &IUnknown
impl From<&SpeechRecognitionListConstraint> for &IUnknown
§fn from(value: &SpeechRecognitionListConstraint) -> Self
fn from(value: &SpeechRecognitionListConstraint) -> Self
Converts to this type from the input type.
§impl From<SpeechRecognitionListConstraint> for IInspectable
impl From<SpeechRecognitionListConstraint> for IInspectable
§fn from(value: SpeechRecognitionListConstraint) -> Self
fn from(value: SpeechRecognitionListConstraint) -> Self
Converts to this type from the input type.
§impl From<SpeechRecognitionListConstraint> for IUnknown
impl From<SpeechRecognitionListConstraint> for IUnknown
§fn from(value: SpeechRecognitionListConstraint) -> Self
fn from(value: SpeechRecognitionListConstraint) -> Self
Converts to this type from the input type.
§impl Interface for SpeechRecognitionListConstraint
impl Interface for SpeechRecognitionListConstraint
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for SpeechRecognitionListConstraint
impl PartialEq for SpeechRecognitionListConstraint
§fn eq(&self, other: &SpeechRecognitionListConstraint) -> bool
fn eq(&self, other: &SpeechRecognitionListConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpeechRecognitionListConstraint
impl Send for SpeechRecognitionListConstraint
impl StructuralPartialEq for SpeechRecognitionListConstraint
impl Sync for SpeechRecognitionListConstraint
Auto Trait Implementations§
impl RefUnwindSafe for SpeechRecognitionListConstraint
impl Unpin for SpeechRecognitionListConstraint
impl UnwindSafe for SpeechRecognitionListConstraint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more