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