Enum win_event_hook::events::Event
source · #[non_exhaustive]pub enum Event {
Named(NamedEvent),
Aia(AiaEvent),
Oem(OemEvent),
Uia(UiaEvent),
UiaProperty(UiaPropertyEvent),
}
Expand description
Windows accessibility events.
See variant documentation (NamedEvent
,AiaEvent
,OemEvent
,UiaEvent
,UiaPropertyEvent
) for more information.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
source§impl From<NamedEvent> for Event
impl From<NamedEvent> for Event
source§fn from(value: NamedEvent) -> Self
fn from(value: NamedEvent) -> Self
Converts to this type from the input type.
source§impl From<UiaPropertyEvent> for Event
impl From<UiaPropertyEvent> for Event
source§fn from(value: UiaPropertyEvent) -> Self
fn from(value: UiaPropertyEvent) -> Self
Converts to this type from the input type.
source§impl PartialEq for Event
impl PartialEq for Event
impl Copy for Event
impl Eq for Event
impl StructuralEq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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