Struct crossterm_winapi::ControlKeyState [−][src]
pub struct ControlKeyState(_);
Expand description
The state of the control keys.
This is a bitmask of the following values.
Description | Value |
---|---|
The right alt key is pressed | 0x0001 |
The left alt key is pressed | x0002 |
The right control key is pressed | 0x0004 |
The left control key is pressed | x0008 |
The shift key is pressed | 0x0010 |
The num lock light is on | 0x0020 |
The scroll lock light is on | 0x0040 |
The caps lock light is on | 0x0080 |
The key is enhanced | 0x0100 |
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ControlKeyState
impl Send for ControlKeyState
impl Sync for ControlKeyState
impl Unpin for ControlKeyState
impl UnwindSafe for ControlKeyState
Blanket Implementations
Mutably borrows from an owned value. Read more