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