Struct windows::Win32::Media::Speech::ISpeechAudioFormat
pub struct ISpeechAudioFormat(/* private fields */);
Implementations§
§impl ISpeechAudioFormat
impl ISpeechAudioFormat
pub unsafe fn Type(&self) -> Result<SpeechAudioFormatType>
pub unsafe fn SetType(&self, audioformat: SpeechAudioFormatType) -> Result<()>
pub unsafe fn Guid(&self) -> Result<BSTR>
pub unsafe fn SetGuid<P0>(&self, guid: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetWaveFormatEx(&self) -> Result<ISpeechWaveFormatEx>
pub unsafe fn SetWaveFormatEx<P0>(&self, speechwaveformatex: P0) -> Result<()>where
P0: IntoParam<ISpeechWaveFormatEx>,
Trait Implementations§
§impl Clone for ISpeechAudioFormat
impl Clone for ISpeechAudioFormat
§fn clone(&self) -> ISpeechAudioFormat
fn clone(&self) -> ISpeechAudioFormat
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 ISpeechAudioFormat
impl Debug for ISpeechAudioFormat
§impl From<&ISpeechAudioFormat> for &IDispatch
impl From<&ISpeechAudioFormat> for &IDispatch
§fn from(value: &ISpeechAudioFormat) -> Self
fn from(value: &ISpeechAudioFormat) -> Self
Converts to this type from the input type.
§impl From<&ISpeechAudioFormat> for &IUnknown
impl From<&ISpeechAudioFormat> for &IUnknown
§fn from(value: &ISpeechAudioFormat) -> Self
fn from(value: &ISpeechAudioFormat) -> Self
Converts to this type from the input type.
§impl From<ISpeechAudioFormat> for IDispatch
impl From<ISpeechAudioFormat> for IDispatch
§fn from(value: ISpeechAudioFormat) -> Self
fn from(value: ISpeechAudioFormat) -> Self
Converts to this type from the input type.
§impl From<ISpeechAudioFormat> for IUnknown
impl From<ISpeechAudioFormat> for IUnknown
§fn from(value: ISpeechAudioFormat) -> Self
fn from(value: ISpeechAudioFormat) -> Self
Converts to this type from the input type.
§impl Interface for ISpeechAudioFormat
impl Interface for ISpeechAudioFormat
§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 ISpeechAudioFormat
impl PartialEq for ISpeechAudioFormat
§fn eq(&self, other: &ISpeechAudioFormat) -> bool
fn eq(&self, other: &ISpeechAudioFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ISpeechAudioFormat
impl StructuralPartialEq for ISpeechAudioFormat
Auto Trait Implementations§
impl RefUnwindSafe for ISpeechAudioFormat
impl !Send for ISpeechAudioFormat
impl !Sync for ISpeechAudioFormat
impl Unpin for ISpeechAudioFormat
impl UnwindSafe for ISpeechAudioFormat
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