Struct winrt::windows::foundation::AsyncOperationCompletedHandler
[−]
[src]
#[repr(C)]pub struct AsyncOperationCompletedHandler<TResult> where
TResult: RtType, { /* fields omitted */ }
Methods
impl<TResult: RtType + 'static> AsyncOperationCompletedHandler<TResult>
[src]
fn new<_F_>(f: _F_) -> ComPtr<AsyncOperationCompletedHandler<TResult>> where
_F_: 'static + Send + FnMut(*mut IAsyncOperation<TResult>, AsyncStatus) -> Result<()>,
AsyncOperationCompletedHandler<TResult>: ComIid,
_F_: 'static + Send + FnMut(*mut IAsyncOperation<TResult>, AsyncStatus) -> Result<()>,
AsyncOperationCompletedHandler<TResult>: ComIid,
impl<TResult: RtType> AsyncOperationCompletedHandler<TResult>
[src]
unsafe fn invoke(
&self,
asyncInfo: &IAsyncOperation<TResult>,
asyncStatus: AsyncStatus
) -> Result<()>
&self,
asyncInfo: &IAsyncOperation<TResult>,
asyncStatus: AsyncStatus
) -> Result<()>
Trait Implementations
impl<TResult> ComInterface for AsyncOperationCompletedHandler<TResult> where
TResult: RtType,
[src]
TResult: RtType,
type Vtbl = AsyncOperationCompletedHandlerVtbl<TResult>
The type that defines the VTable of this interface.
impl<TResult> RtType for AsyncOperationCompletedHandler<TResult> where
TResult: RtType,
[src]
TResult: RtType,
type In = AsyncOperationCompletedHandler<TResult>
type Abi = *mut AsyncOperationCompletedHandler<TResult>
type Out = ComPtr<AsyncOperationCompletedHandler<TResult>>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl<TResult> Deref for AsyncOperationCompletedHandler<TResult> where
TResult: RtType,
[src]
TResult: RtType,
type Target = IUnknown
The resulting type after dereferencing
fn deref(&self) -> &IUnknown
The method called to dereference a value
impl<TResult> DerefMut for AsyncOperationCompletedHandler<TResult> where
TResult: RtType,
[src]
TResult: RtType,