Struct com::interfaces::iunknown::IUnknown [−][src]
#[repr(transparent)]pub struct IUnknown { /* fields omitted */ }
Expand description
IUnknown COM interface
Implementations
The COM QueryInterface
Method
This method normally should not be called directly. Interfaces that implement
IUnknown
also implement IUnknown::query_interface
which is a safe wrapper around
IUnknown::QueryInterface
.
The COM AddRef
Method
This method normally should not be called directly. This method is used by
the Clone
implementation of interfaces to implement the reference counting mechanism.
The COM Release
Method
This method normally should not be called directly. This method is used by
the Drop
implementation of interfaces to implement the reference counting mechanism.
A safe version of QueryInterface
.
If the backing class implements the interface I
then a Some
containing an ComPtr
pointing to that interface will be returned
otherwise None
will be returned.
Trait Implementations
Performs the conversion.
Performs the conversion.
type VTable = IUnknownVTable
type VTable = IUnknownVTable
A COM compatible V-Table
Check whether a given IID is in the inheritance hierarchy of this interface
Cast the interface pointer to a pointer to IUnknown.
Auto Trait Implementations
impl RefUnwindSafe for IUnknown
impl UnwindSafe for IUnknown
Blanket Implementations
Mutably borrows from an owned value. Read more