Struct winrt::windows::foundation::AsyncOperationProgressHandler
[−]
[src]
#[repr(C)]pub struct AsyncOperationProgressHandler<TResult, TProgress> where
TResult: RtType,
TProgress: RtType, { /* fields omitted */ }
Methods
impl<TResult: RtType + 'static, TProgress: RtType + 'static> AsyncOperationProgressHandler<TResult, TProgress>
[src]
fn new<_F_>(f: _F_) -> ComPtr<AsyncOperationProgressHandler<TResult, TProgress>> where
_F_: 'static + Send + FnMut(*mut IAsyncOperationWithProgress<TResult, TProgress>, TProgress::Abi) -> Result<()>,
AsyncOperationProgressHandler<TResult, TProgress>: ComIid,
_F_: 'static + Send + FnMut(*mut IAsyncOperationWithProgress<TResult, TProgress>, TProgress::Abi) -> Result<()>,
AsyncOperationProgressHandler<TResult, TProgress>: ComIid,
impl<TResult: RtType, TProgress: RtType> AsyncOperationProgressHandler<TResult, TProgress>
[src]
unsafe fn invoke(
&self,
asyncInfo: &IAsyncOperationWithProgress<TResult, TProgress>,
progressInfo: &TProgress::In
) -> Result<()>
&self,
asyncInfo: &IAsyncOperationWithProgress<TResult, TProgress>,
progressInfo: &TProgress::In
) -> Result<()>
Trait Implementations
impl<TResult, TProgress> ComInterface for AsyncOperationProgressHandler<TResult, TProgress> where
TResult: RtType,
TProgress: RtType,
[src]
TResult: RtType,
TProgress: RtType,
type Vtbl = AsyncOperationProgressHandlerVtbl<TResult, TProgress>
The type that defines the VTable of this interface.
impl<TResult, TProgress> RtType for AsyncOperationProgressHandler<TResult, TProgress> where
TResult: RtType,
TProgress: RtType,
[src]
TResult: RtType,
TProgress: RtType,
type In = AsyncOperationProgressHandler<TResult, TProgress>
type Abi = *mut AsyncOperationProgressHandler<TResult, TProgress>
type Out = ComPtr<AsyncOperationProgressHandler<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 AsyncOperationProgressHandler<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 AsyncOperationProgressHandler<TResult, TProgress> where
TResult: RtType,
TProgress: RtType,
[src]
TResult: RtType,
TProgress: RtType,