#[repr(C)]pub struct IUnknown { /* private fields */ }
Expand description
Base interface for all COM types.
None of the methods on this struct should be called directly,
use ComPtr
instead.
Implementations§
Source§impl IUnknown
impl IUnknown
Sourcepub unsafe fn query_interface(
&self,
iid: &IID,
object: *mut *mut c_void,
) -> HResult
pub unsafe fn query_interface( &self, iid: &IID, object: *mut *mut c_void, ) -> HResult
Retrieves pointers to the supported interfaces on an object.
Use ComPtr::from
instead.
Trait Implementations§
Source§impl ComInterface for IUnknown
impl ComInterface for IUnknown
impl AsComPtr<IUnknown> for IUnknown
Auto Trait Implementations§
impl Freeze for IUnknown
impl RefUnwindSafe for IUnknown
impl !Send for IUnknown
impl !Sync for IUnknown
impl Unpin for IUnknown
impl UnwindSafe for IUnknown
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