pub enum WmKeyState {
KeyDown,
KeyUp,
SysKeyDown,
SysKeyUp,
}Expand description
Represents the type of Windows message related to a keyboard event.
See also: Keyboard Input
Variants§
Implementations§
Source§impl WmKeyState
impl WmKeyState
Trait Implementations§
Source§impl Clone for WmKeyState
impl Clone for WmKeyState
impl Copy for WmKeyState
Source§impl Debug for WmKeyState
impl Debug for WmKeyState
impl Eq for WmKeyState
Source§impl From<WmKeyState> for KeyState
impl From<WmKeyState> for KeyState
Source§fn from(value: WmKeyState) -> Self
fn from(value: WmKeyState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WmKeyState
impl PartialEq for WmKeyState
impl StructuralPartialEq for WmKeyState
Auto Trait Implementations§
impl Freeze for WmKeyState
impl RefUnwindSafe for WmKeyState
impl Send for WmKeyState
impl Sync for WmKeyState
impl Unpin for WmKeyState
impl UnsafeUnpin for WmKeyState
impl UnwindSafe for WmKeyState
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