Struct wasapi::Windows::Win32::Devices::FunctionDiscovery::IFunctionInstance [−][src]
#[repr(transparent)]pub struct IFunctionInstance(_);
Implementations
pub unsafe fn GetProviderInstanceID(
&self,
ppszcomemproviderinstanceidentity: *mut *mut u16
) -> Result<()>Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IFunctionInstance_abiunsafe fn vtable(&self) -> &Self::Vtable
unsafe fn vtable(&self) -> &Self::VtableReturns 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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for IFunctionInstanceimpl !Send for IFunctionInstanceimpl !Sync for IFunctionInstanceimpl Unpin for IFunctionInstanceimpl UnwindSafe for IFunctionInstanceBlanket 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::AbiCasts 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>