#[repr(transparent)]pub struct AsyncActionWithProgressCompletedHandler<TProgress>(pub IUnknown, _)
where
TProgress: RuntimeType + 'static;Expand description
Required features: "Foundation"
Tuple Fields§
§0: IUnknownImplementations§
§impl<TProgress> AsyncActionWithProgressCompletedHandler<TProgress>where
TProgress: RuntimeType + 'static,
impl<TProgress> AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: RuntimeType + 'static,
pub fn new<F>(invoke: F) -> AsyncActionWithProgressCompletedHandler<TProgress>where F: FnMut(Option<&IAsyncActionWithProgress<TProgress>>, AsyncStatus) -> Result<(), Error> + Send + 'static,
pub fn Invoke<P0>( &self, asyncinfo: P0, asyncstatus: AsyncStatus ) -> Result<(), Error>where P0: TryIntoParam<IAsyncActionWithProgress<TProgress>>,
Trait Implementations§
§impl<TProgress> Clone for AsyncActionWithProgressCompletedHandler<TProgress>where
TProgress: RuntimeType + 'static,
impl<TProgress> Clone for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: RuntimeType + 'static,
§fn clone(&self) -> AsyncActionWithProgressCompletedHandler<TProgress>
fn clone(&self) -> AsyncActionWithProgressCompletedHandler<TProgress>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl<TProgress> ComInterface for AsyncActionWithProgressCompletedHandler<TProgress>where
TProgress: RuntimeType + 'static,
impl<TProgress> ComInterface for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: RuntimeType + 'static,
fn as_unknown(&self) -> &IUnknown
§impl<TProgress> Debug for AsyncActionWithProgressCompletedHandler<TProgress>where
TProgress: RuntimeType + 'static,
impl<TProgress> Debug for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: RuntimeType + 'static,
§impl<TProgress> Interface for AsyncActionWithProgressCompletedHandler<TProgress>where
TProgress: RuntimeType + 'static,
impl<TProgress> Interface for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: RuntimeType + 'static,
type Vtable = AsyncActionWithProgressCompletedHandler_Vtbl<TProgress>
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§impl<TProgress> PartialEq<AsyncActionWithProgressCompletedHandler<TProgress>> for AsyncActionWithProgressCompletedHandler<TProgress>where
TProgress: RuntimeType + 'static,
impl<TProgress> PartialEq<AsyncActionWithProgressCompletedHandler<TProgress>> for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: RuntimeType + 'static,
§fn eq(&self, other: &AsyncActionWithProgressCompletedHandler<TProgress>) -> bool
fn eq(&self, other: &AsyncActionWithProgressCompletedHandler<TProgress>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<TProgress> Eq for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: RuntimeType + 'static,
Auto Trait Implementations§
impl<TProgress> RefUnwindSafe for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: RefUnwindSafe,
impl<TProgress> !Send for AsyncActionWithProgressCompletedHandler<TProgress>
impl<TProgress> !Sync for AsyncActionWithProgressCompletedHandler<TProgress>
impl<TProgress> Unpin for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: Unpin,
impl<TProgress> UnwindSafe for AsyncActionWithProgressCompletedHandler<TProgress>where TProgress: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more