Struct dx_core::com::ComRef [] [src]

pub struct ComRef<T> where T: IUnknown {
    // some fields omitted
}

Methods

impl<T: IUnknown> ComRef<T>
[src]

fn new(value: *const T) -> ComRef<T>

Trait Implementations

impl<T: IUnknown> Deref for ComRef<T>
[src]

type Target = T

The resulting type after dereferencing

fn deref(&self) -> &T

The method called to dereference a value

impl<T: IUnknown> Drop for ComRef<T>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more

impl<T: IUnknown> Clone for ComRef<T>
[src]

fn clone(&self) -> ComRef<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<T: IUnknown> Borrow<T> for ComRef<T>
[src]

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

impl<T: IUnknown> Send for ComRef<T>
[src]