Struct windows::IUnknown [−][src]
#[repr(transparent)]pub struct IUnknown(_);
Expand description
All COM interfaces (and thus WinRT classes and interfaces) implement IUnknown under the hood to provide reference-counted lifetime management as well as the ability to query for additional interfaces that the object may implement.
Trait Implementations
type Vtable = IUnknown_abiReturns 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 IUnknownimpl UnwindSafe for IUnknownBlanket Implementations
Mutably borrows from an owned value. Read more