[−][src]Struct com_rs::IUnknown
Base interface for all COM types.
None of the methods on this struct should be called directly,
use ComPtr
instead.
Methods
impl IUnknown
[src]
pub unsafe fn query_interface(
&self,
iid: &IID,
object: *mut *mut c_void
) -> HResult
[src]
&self,
iid: &IID,
object: *mut *mut c_void
) -> HResult
Retrieves pointers to the supported interfaces on an object.
Use ComPtr::from
instead.
pub unsafe fn add_ref(&self) -> u32
[src]
Increments the reference count for an interface on an object. Should never need to call this directly.
pub unsafe fn release(&self) -> u32
[src]
Decrements the reference count for an interface on an object. Should never need to call this directly.
Trait Implementations
impl ComInterface for IUnknown
[src]
impl AsComPtr<IUnknown> for IUnknown
[src]
impl Debug for IUnknown
[src]
Auto Trait Implementations
impl !Send for IUnknown
impl !Sync for IUnknown
impl Unpin for IUnknown
impl UnwindSafe for IUnknown
impl RefUnwindSafe for IUnknown
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,