pub struct AsyncActionProgressHandler<TProgress>(/* private fields */)
where
TProgress: RuntimeType + 'static;
Implementations§
Source§impl<TProgress: RuntimeType + 'static> AsyncActionProgressHandler<TProgress>
impl<TProgress: RuntimeType + 'static> AsyncActionProgressHandler<TProgress>
pub fn new<F: FnMut(&Option<IAsyncActionWithProgress<TProgress>>, &<TProgress as RuntimeType>::DefaultType) -> Result<()> + 'static>( invoke: F, ) -> Self
pub fn Invoke<'a, T0__: IntoParam<'a, IAsyncActionWithProgress<TProgress>>, T1__: IntoParam<'a, TProgress>>( &self, asyncinfo: T0__, progressinfo: T1__, ) -> Result<()>
Trait Implementations§
Source§impl<TProgress> Clone for AsyncActionProgressHandler<TProgress>where
TProgress: RuntimeType + 'static + Clone,
impl<TProgress> Clone for AsyncActionProgressHandler<TProgress>where
TProgress: RuntimeType + 'static + Clone,
Source§fn clone(&self) -> AsyncActionProgressHandler<TProgress>
fn clone(&self) -> AsyncActionProgressHandler<TProgress>
Returns a duplicate 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 moreSource§impl<TProgress> Debug for AsyncActionProgressHandler<TProgress>where
TProgress: RuntimeType + 'static + Debug,
impl<TProgress> Debug for AsyncActionProgressHandler<TProgress>where
TProgress: RuntimeType + 'static + Debug,
Source§impl<TProgress: RuntimeType + 'static> Interface for AsyncActionProgressHandler<TProgress>
impl<TProgress: RuntimeType + 'static> Interface for AsyncActionProgressHandler<TProgress>
const IID: Guid
type Vtable = AsyncActionProgressHandler_abi<TProgress>
Source§impl<TProgress> PartialEq for AsyncActionProgressHandler<TProgress>where
TProgress: RuntimeType + 'static + PartialEq,
impl<TProgress> PartialEq for AsyncActionProgressHandler<TProgress>where
TProgress: RuntimeType + 'static + PartialEq,
Source§fn eq(&self, other: &AsyncActionProgressHandler<TProgress>) -> bool
fn eq(&self, other: &AsyncActionProgressHandler<TProgress>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<TProgress: RuntimeType + 'static> RuntimeType for AsyncActionProgressHandler<TProgress>
impl<TProgress: RuntimeType + 'static> RuntimeType for AsyncActionProgressHandler<TProgress>
const SIGNATURE: ConstBuffer
type DefaultType = Option<AsyncActionProgressHandler<TProgress>>
impl<TProgress> Eq for AsyncActionProgressHandler<TProgress>where
TProgress: RuntimeType + 'static + Eq,
impl<TProgress> StructuralPartialEq for AsyncActionProgressHandler<TProgress>where
TProgress: RuntimeType + 'static,
Auto Trait Implementations§
impl<TProgress> Freeze for AsyncActionProgressHandler<TProgress>
impl<TProgress> RefUnwindSafe for AsyncActionProgressHandler<TProgress>where
TProgress: RefUnwindSafe,
impl<TProgress> !Send for AsyncActionProgressHandler<TProgress>
impl<TProgress> !Sync for AsyncActionProgressHandler<TProgress>
impl<TProgress> Unpin for AsyncActionProgressHandler<TProgress>where
TProgress: Unpin,
impl<TProgress> UnwindSafe for AsyncActionProgressHandler<TProgress>where
TProgress: UnwindSafe,
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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