pub enum KeyOutput {
Char(char),
Backspace,
Enter,
Tab,
Escape,
Control(KeyboardControl),
}Expand description
Value produced by a key activation on a Keyboard.
Registration policy: Specification Required (LPAR-13 §7).
Variants§
Char(char)
A printable character was pressed.
Backspace
The backspace key was pressed (delete character before cursor).
Enter
The enter / return key was pressed.
Tab
The tab key was pressed.
Escape
The escape key was pressed.
Control(KeyboardControl)
An internal control action (mode switch, etc.).
Trait Implementations§
impl Eq for KeyOutput
impl StructuralPartialEq for KeyOutput
Auto Trait Implementations§
impl Freeze for KeyOutput
impl RefUnwindSafe for KeyOutput
impl Send for KeyOutput
impl Sync for KeyOutput
impl Unpin for KeyOutput
impl UnsafeUnpin for KeyOutput
impl UnwindSafe for KeyOutput
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