Struct windows::Win32::Media::Speech::ISpeechDataKey
pub struct ISpeechDataKey(/* private fields */);
Implementations§
§impl ISpeechDataKey
impl ISpeechDataKey
pub unsafe fn SetBinaryValue<P0, P1>( &self, valuename: P0, value: P1 ) -> Result<()>
pub unsafe fn GetBinaryValue<P0>(&self, valuename: P0) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn SetStringValue<P0, P1>( &self, valuename: P0, value: P1 ) -> Result<()>
pub unsafe fn GetStringValue<P0>(&self, valuename: P0) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn SetLongValue<P0>(&self, valuename: P0, value: i32) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetLongValue<P0>(&self, valuename: P0) -> Result<i32>where
P0: IntoParam<BSTR>,
pub unsafe fn OpenKey<P0>(&self, subkeyname: P0) -> Result<ISpeechDataKey>where
P0: IntoParam<BSTR>,
pub unsafe fn CreateKey<P0>(&self, subkeyname: P0) -> Result<ISpeechDataKey>where
P0: IntoParam<BSTR>,
pub unsafe fn DeleteKey<P0>(&self, subkeyname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn DeleteValue<P0>(&self, valuename: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn EnumKeys(&self, index: i32) -> Result<BSTR>
pub unsafe fn EnumValues(&self, index: i32) -> Result<BSTR>
Trait Implementations§
§impl Clone for ISpeechDataKey
impl Clone for ISpeechDataKey
§fn clone(&self) -> ISpeechDataKey
fn clone(&self) -> ISpeechDataKey
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 ISpeechDataKey
impl Debug for ISpeechDataKey
§impl From<&ISpeechDataKey> for &IDispatch
impl From<&ISpeechDataKey> for &IDispatch
§fn from(value: &ISpeechDataKey) -> Self
fn from(value: &ISpeechDataKey) -> Self
Converts to this type from the input type.
§impl From<&ISpeechDataKey> for &IUnknown
impl From<&ISpeechDataKey> for &IUnknown
§fn from(value: &ISpeechDataKey) -> Self
fn from(value: &ISpeechDataKey) -> Self
Converts to this type from the input type.
§impl From<ISpeechDataKey> for IDispatch
impl From<ISpeechDataKey> for IDispatch
§fn from(value: ISpeechDataKey) -> Self
fn from(value: ISpeechDataKey) -> Self
Converts to this type from the input type.
§impl From<ISpeechDataKey> for IUnknown
impl From<ISpeechDataKey> for IUnknown
§fn from(value: ISpeechDataKey) -> Self
fn from(value: ISpeechDataKey) -> Self
Converts to this type from the input type.
§impl Interface for ISpeechDataKey
impl Interface for ISpeechDataKey
§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 ISpeechDataKey
impl PartialEq for ISpeechDataKey
§fn eq(&self, other: &ISpeechDataKey) -> bool
fn eq(&self, other: &ISpeechDataKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ISpeechDataKey
impl StructuralPartialEq for ISpeechDataKey
Auto Trait Implementations§
impl RefUnwindSafe for ISpeechDataKey
impl !Send for ISpeechDataKey
impl !Sync for ISpeechDataKey
impl Unpin for ISpeechDataKey
impl UnwindSafe for ISpeechDataKey
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