Struct windows_webview2::Windows::Foundation::AsyncOperationCompletedHandler [−][src]
Implementations
impl<TResult: RuntimeType + 'static> AsyncOperationCompletedHandler<TResult>
[src]
pub fn new<F: FnMut(&Option<IAsyncOperation<TResult>>, AsyncStatus) -> Result<()> + 'static>(
invoke: F
) -> Self
[src]
invoke: F
) -> Self
pub fn Invoke<'a, T0__: IntoParam<'a, IAsyncOperation<TResult>>>(
&self,
asyncinfo: T0__,
asyncstatus: AsyncStatus
) -> Result<()>
[src]
&self,
asyncinfo: T0__,
asyncstatus: AsyncStatus
) -> Result<()>
Trait Implementations
impl<TResult: Clone> Clone for AsyncOperationCompletedHandler<TResult> where
TResult: RuntimeType + 'static,
[src]
TResult: RuntimeType + 'static,
fn clone(&self) -> AsyncOperationCompletedHandler<TResult>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<TResult: Debug> Debug for AsyncOperationCompletedHandler<TResult> where
TResult: RuntimeType + 'static,
[src]
TResult: RuntimeType + 'static,
impl<TResult: Eq> Eq for AsyncOperationCompletedHandler<TResult> where
TResult: RuntimeType + 'static,
[src]
TResult: RuntimeType + 'static,
impl<TResult: RuntimeType + 'static> Interface for AsyncOperationCompletedHandler<TResult>
[src]
type Vtable = AsyncOperationCompletedHandler_abi<TResult>
const IID: Guid
[src]
pub unsafe fn vtable(&self) -> &Self::Vtable
[src]
pub unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
[src]
T: Interface,
pub fn cast<T>(&self) -> Result<T, Error> where
T: Interface,
[src]
T: Interface,
impl<TResult: PartialEq> PartialEq<AsyncOperationCompletedHandler<TResult>> for AsyncOperationCompletedHandler<TResult> where
TResult: RuntimeType + 'static,
[src]
TResult: RuntimeType + 'static,
fn eq(&self, other: &AsyncOperationCompletedHandler<TResult>) -> bool
[src]
fn ne(&self, other: &AsyncOperationCompletedHandler<TResult>) -> bool
[src]
impl<TResult: RuntimeType + 'static> RuntimeType for AsyncOperationCompletedHandler<TResult>
[src]
type DefaultType = Option<Self>
const SIGNATURE: ConstBuffer
[src]
impl<TResult> StructuralEq for AsyncOperationCompletedHandler<TResult> where
TResult: RuntimeType + 'static,
[src]
TResult: RuntimeType + 'static,
impl<TResult> StructuralPartialEq for AsyncOperationCompletedHandler<TResult> where
TResult: RuntimeType + 'static,
[src]
TResult: RuntimeType + 'static,
Auto Trait Implementations
impl<TResult> RefUnwindSafe for AsyncOperationCompletedHandler<TResult> where
TResult: RefUnwindSafe,
TResult: RefUnwindSafe,
impl<TResult> !Send for AsyncOperationCompletedHandler<TResult>
impl<TResult> !Sync for AsyncOperationCompletedHandler<TResult>
impl<TResult> Unpin for AsyncOperationCompletedHandler<TResult> where
TResult: Unpin,
TResult: Unpin,
impl<TResult> UnwindSafe for AsyncOperationCompletedHandler<TResult> where
TResult: UnwindSafe,
TResult: UnwindSafe,
Blanket Implementations
impl<T> Abi for T where
T: Interface,
[src]
T: Interface,
type Abi = *mut c_void
The abi representation of the implementing type. Read more
pub fn set_abi(&mut self) -> *mut <T as Abi>::Abi
[src]
pub unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
[src]
pub fn abi(&self) -> Self::Abi
[src]
pub fn drop_param(&mut Param<'_, Self>)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> IntoParam<'a, T> for T where
T: Abi,
[src]
T: Abi,
pub fn into_param(self) -> Param<'a, T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,