pub struct IAudioFrameNativeFactory(/* private fields */);
Implementations§
§impl IAudioFrameNativeFactory
impl IAudioFrameNativeFactory
pub unsafe fn CreateFromMFSample<P0, P1, T>( &self, data: P0, forcereadonly: P1 ) -> Result<T>
Methods from Deref<Target = IInspectable>§
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
Returns the canonical type name for the underlying object.
pub fn GetTrustLevel(&self) -> Result<i32, Error>
pub fn GetTrustLevel(&self) -> Result<i32, Error>
Gets the trust level of the current object.
Trait Implementations§
§impl Clone for IAudioFrameNativeFactory
impl Clone for IAudioFrameNativeFactory
§fn clone(&self) -> IAudioFrameNativeFactory
fn clone(&self) -> IAudioFrameNativeFactory
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 IAudioFrameNativeFactory
impl Debug for IAudioFrameNativeFactory
§impl Deref for IAudioFrameNativeFactory
impl Deref for IAudioFrameNativeFactory
§impl From<&IAudioFrameNativeFactory> for &IInspectable
impl From<&IAudioFrameNativeFactory> for &IInspectable
§fn from(value: &IAudioFrameNativeFactory) -> Self
fn from(value: &IAudioFrameNativeFactory) -> Self
Converts to this type from the input type.
§impl From<&IAudioFrameNativeFactory> for &IUnknown
impl From<&IAudioFrameNativeFactory> for &IUnknown
§fn from(value: &IAudioFrameNativeFactory) -> Self
fn from(value: &IAudioFrameNativeFactory) -> Self
Converts to this type from the input type.
§impl From<IAudioFrameNativeFactory> for IInspectable
impl From<IAudioFrameNativeFactory> for IInspectable
§fn from(value: IAudioFrameNativeFactory) -> Self
fn from(value: IAudioFrameNativeFactory) -> Self
Converts to this type from the input type.
§impl From<IAudioFrameNativeFactory> for IUnknown
impl From<IAudioFrameNativeFactory> for IUnknown
§fn from(value: IAudioFrameNativeFactory) -> Self
fn from(value: IAudioFrameNativeFactory) -> Self
Converts to this type from the input type.
§impl Interface for IAudioFrameNativeFactory
impl Interface for IAudioFrameNativeFactory
§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 IAudioFrameNativeFactory
impl PartialEq for IAudioFrameNativeFactory
§fn eq(&self, other: &IAudioFrameNativeFactory) -> bool
fn eq(&self, other: &IAudioFrameNativeFactory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IAudioFrameNativeFactory
impl StructuralPartialEq for IAudioFrameNativeFactory
Auto Trait Implementations§
impl Freeze for IAudioFrameNativeFactory
impl RefUnwindSafe for IAudioFrameNativeFactory
impl !Send for IAudioFrameNativeFactory
impl !Sync for IAudioFrameNativeFactory
impl Unpin for IAudioFrameNativeFactory
impl UnwindSafe for IAudioFrameNativeFactory
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