Struct windows_core::Event
pub struct Event<T: Interface> { /* private fields */ }
Expand description
A type that you can use to declare and implement an event of a specified delegate type.
The implementation is thread-safe and designed to avoid contention between events being raised and delegates being added or removed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Event<T>
impl<T> RefUnwindSafe for Event<T>where
T: RefUnwindSafe,
impl<T> !Send for Event<T>
impl<T> !Sync for Event<T>
impl<T> Unpin for Event<T>where
T: Unpin,
impl<T> UnwindSafe for Event<T>where
T: UnwindSafe + RefUnwindSafe,
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