[][src]Struct com_rs::IUnknown

#[repr(C)]
pub struct IUnknown { /* fields omitted */ }

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]

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]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]