Struct windows_webview2::Windows::Foundation::TypedEventHandler [−][src]
Implementations
impl<TSender: RuntimeType + 'static, TResult: RuntimeType + 'static> TypedEventHandler<TSender, TResult>
[src]
pub fn new<F: FnMut(&<TSender as RuntimeType>::DefaultType, &<TResult as RuntimeType>::DefaultType) -> Result<()> + 'static>(
invoke: F
) -> Self
[src]
invoke: F
) -> Self
pub fn Invoke<'a, T0__: IntoParam<'a, TSender>, T1__: IntoParam<'a, TResult>>(
&self,
sender: T0__,
args: T1__
) -> Result<()>
[src]
&self,
sender: T0__,
args: T1__
) -> Result<()>
Trait Implementations
impl<TSender: Clone, TResult: Clone> Clone for TypedEventHandler<TSender, TResult> where
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
[src]
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
fn clone(&self) -> TypedEventHandler<TSender, TResult>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<TSender: Debug, TResult: Debug> Debug for TypedEventHandler<TSender, TResult> where
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
[src]
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
impl<TSender: Eq, TResult: Eq> Eq for TypedEventHandler<TSender, TResult> where
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
[src]
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
impl<TSender: RuntimeType + 'static, TResult: RuntimeType + 'static> Interface for TypedEventHandler<TSender, TResult>
[src]
type Vtable = TypedEventHandler_abi<TSender, 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<TSender: PartialEq, TResult: PartialEq> PartialEq<TypedEventHandler<TSender, TResult>> for TypedEventHandler<TSender, TResult> where
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
[src]
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
fn eq(&self, other: &TypedEventHandler<TSender, TResult>) -> bool
[src]
fn ne(&self, other: &TypedEventHandler<TSender, TResult>) -> bool
[src]
impl<TSender: RuntimeType + 'static, TResult: RuntimeType + 'static> RuntimeType for TypedEventHandler<TSender, TResult>
[src]
type DefaultType = Option<Self>
const SIGNATURE: ConstBuffer
[src]
impl<TSender, TResult> StructuralEq for TypedEventHandler<TSender, TResult> where
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
[src]
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
impl<TSender, TResult> StructuralPartialEq for TypedEventHandler<TSender, TResult> where
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
[src]
TSender: RuntimeType + 'static,
TResult: RuntimeType + 'static,
Auto Trait Implementations
impl<TSender, TResult> RefUnwindSafe for TypedEventHandler<TSender, TResult> where
TResult: RefUnwindSafe,
TSender: RefUnwindSafe,
TResult: RefUnwindSafe,
TSender: RefUnwindSafe,
impl<TSender, TResult> !Send for TypedEventHandler<TSender, TResult>
impl<TSender, TResult> !Sync for TypedEventHandler<TSender, TResult>
impl<TSender, TResult> Unpin for TypedEventHandler<TSender, TResult> where
TResult: Unpin,
TSender: Unpin,
TResult: Unpin,
TSender: Unpin,
impl<TSender, TResult> UnwindSafe for TypedEventHandler<TSender, TResult> where
TResult: UnwindSafe,
TSender: UnwindSafe,
TResult: UnwindSafe,
TSender: 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>,