Struct windows::Foundation::EventHandler
pub struct EventHandler<T>(/* private fields */)
where
T: RuntimeType + 'static;
Implementations§
§impl<T: RuntimeType + 'static> EventHandler<T>
impl<T: RuntimeType + 'static> EventHandler<T>
Trait Implementations§
§impl<T> Clone for EventHandler<T>where
T: RuntimeType + 'static + Clone,
impl<T> Clone for EventHandler<T>where
T: RuntimeType + 'static + Clone,
§fn clone(&self) -> EventHandler<T>
fn clone(&self) -> EventHandler<T>
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<T> Debug for EventHandler<T>where
T: RuntimeType + 'static + Debug,
impl<T> Debug for EventHandler<T>where
T: RuntimeType + 'static + Debug,
§impl<T: RuntimeType + 'static> Interface for EventHandler<T>
impl<T: RuntimeType + 'static> Interface for EventHandler<T>
§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.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl<T> PartialEq for EventHandler<T>where
T: RuntimeType + 'static + PartialEq,
impl<T> PartialEq for EventHandler<T>where
T: RuntimeType + 'static + PartialEq,
§fn eq(&self, other: &EventHandler<T>) -> bool
fn eq(&self, other: &EventHandler<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T> Eq for EventHandler<T>where
T: RuntimeType + 'static + Eq,
impl<T> StructuralPartialEq for EventHandler<T>where
T: RuntimeType + 'static,
Auto Trait Implementations§
impl<T> RefUnwindSafe for EventHandler<T>where
T: RefUnwindSafe,
impl<T> !Send for EventHandler<T>
impl<T> !Sync for EventHandler<T>
impl<T> Unpin for EventHandler<T>where
T: Unpin,
impl<T> UnwindSafe for EventHandler<T>where
T: 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