Struct wasapi::Windows::Win32::Media::Audio::CoreAudio::IMMDevice [−][src]
#[repr(transparent)]pub struct IMMDevice(_);
Implementations
Trait Implementations
type Vtable = IMMDevice_abi
unsafe fn vtable(&self) -> &Self::Vtable
unsafe fn vtable(&self) -> &Self::Vtable
Returns the vtable for the current interface.
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
Auto Trait Implementations
impl RefUnwindSafe for IMMDevice
impl UnwindSafe for IMMDevice
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn abi(&self) -> Self::Abi
fn abi(&self) -> Self::Abi
Casts the Rust object to its ABI type without copying the object.
fn drop_param(&mut Param<'_, Self>)
Mutably borrows from an owned value. Read more
pub fn into_param(self) -> Param<'a, T>