Struct makepad_widgets::shader::std::windows::Foundation::AsyncActionCompletedHandler
#[repr(transparent)]pub struct AsyncActionCompletedHandler(pub IUnknown);Expand description
Required features: "Foundation"
Tuple Fields§
§0: IUnknownImplementations§
§impl AsyncActionCompletedHandler
impl AsyncActionCompletedHandler
pub fn new<F>(invoke: F) -> AsyncActionCompletedHandlerwhere F: FnMut(Option<&IAsyncAction>, AsyncStatus) -> Result<(), Error> + Send + 'static,
pub fn Invoke<P0>( &self, asyncinfo: P0, asyncstatus: AsyncStatus ) -> Result<(), Error>where P0: TryIntoParam<IAsyncAction>,
Trait Implementations§
§impl Clone for AsyncActionCompletedHandler
impl Clone for AsyncActionCompletedHandler
§fn clone(&self) -> AsyncActionCompletedHandler
fn clone(&self) -> AsyncActionCompletedHandler
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 ComInterface for AsyncActionCompletedHandler
impl ComInterface for AsyncActionCompletedHandler
fn as_unknown(&self) -> &IUnknown
§impl Debug for AsyncActionCompletedHandler
impl Debug for AsyncActionCompletedHandler
§impl Interface for AsyncActionCompletedHandler
impl Interface for AsyncActionCompletedHandler
type Vtable = AsyncActionCompletedHandler_Vtbl
§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 PartialEq<AsyncActionCompletedHandler> for AsyncActionCompletedHandler
impl PartialEq<AsyncActionCompletedHandler> for AsyncActionCompletedHandler
§fn eq(&self, other: &AsyncActionCompletedHandler) -> bool
fn eq(&self, other: &AsyncActionCompletedHandler) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AsyncActionCompletedHandler
Auto Trait Implementations§
impl RefUnwindSafe for AsyncActionCompletedHandler
impl !Send for AsyncActionCompletedHandler
impl !Sync for AsyncActionCompletedHandler
impl Unpin for AsyncActionCompletedHandler
impl UnwindSafe for AsyncActionCompletedHandler
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