com_rs

Trait AsComPtr

Source
pub unsafe trait AsComPtr<T> { }
Expand description

Helper trait for ComPtr. Defines which types of raw pointer can be returned by as_ptr/as_mut_ptr.

Implementors§

Source§

impl AsComPtr<IUnknown> for IUnknown

Source§

impl<T: ComInterface> AsComPtr<c_void> for T

All types can be cast into c_void pointers.