#[non_exhaustive]#[repr(u32)]pub enum WinEventKind {
Show 17 variants
ObjectCreated = 32_768,
ObjectDestroyed = 32_769,
ObjectKeyboardFocussed = 32_773,
ObjectNameChanged = 32_780,
ObjectUnhidden = 32_770,
ObjectStateChanged = 32_778,
ObjectLocationChanged = 32_779,
ForegroundWindowChanged = 3,
WindowMinimized = 22,
WindowUnminimized = 23,
WindowMoveStart = 10,
WindowMoveEnd = 11,
WindowMouseCaptureStart = 8,
WindowMouseCaptureEnd = 9,
WindowCloaked = 32_791,
WindowUncloaked = 32_792,
Other(u32),
}Available on crate feature
hooking only.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.
ObjectCreated = 32_768
ObjectDestroyed = 32_769
ObjectKeyboardFocussed = 32_773
ObjectNameChanged = 32_780
A hidden object is shown.
ObjectStateChanged = 32_778
ObjectLocationChanged = 32_779
ForegroundWindowChanged = 3
The foreground window changed.
Note: This event is not always sent when a window is unminimized (WinEventKind::WindowUnminimized).
WindowMinimized = 22
WindowUnminimized = 23
A window has been unminimized.
WindowMoveStart = 10
WindowMoveEnd = 11
WindowMouseCaptureStart = 8
WindowMouseCaptureEnd = 9
WindowCloaked = 32_791
WindowUncloaked = 32_792
Other(u32)
Trait Implementations§
Source§impl Clone for WinEventKind
impl Clone for WinEventKind
Source§fn clone(&self) -> WinEventKind
fn clone(&self) -> WinEventKind
Returns a duplicate 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 moreSource§impl Debug for WinEventKind
impl Debug for WinEventKind
Source§impl From<WinEventKind> for u32
impl From<WinEventKind> for u32
Source§fn from(enum_value: WinEventKind) -> Self
fn from(enum_value: WinEventKind) -> Self
Converts to this type from the input type.
Source§impl From<u32> for WinEventKind
impl From<u32> for WinEventKind
Source§impl FromPrimitive for WinEventKind
impl FromPrimitive for WinEventKind
Source§impl PartialEq for WinEventKind
impl PartialEq for WinEventKind
impl Copy for WinEventKind
impl Eq for WinEventKind
impl StructuralPartialEq for WinEventKind
Auto Trait Implementations§
impl Freeze for WinEventKind
impl RefUnwindSafe for WinEventKind
impl Send for WinEventKind
impl Sync for WinEventKind
impl Unpin for WinEventKind
impl UnwindSafe for WinEventKind
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