Enum requestty_ui::events::KeyCode
source · [−]pub enum KeyCode {
}Expand description
Represents a key.
Variants
Backspace
Backspace key.
Enter
Enter key.
Left
Left arrow key.
Right
Right arrow key.
Up
Up arrow key.
Down
Down arrow key.
Home
Home key.
End
End key.
PageUp
Page up key.
PageDown
Page dow key.
Tab
Tab key.
BackTab
Shift + Tab key.
Delete
Delete key.
Insert
Insert key.
F(u8)
A function key.
KeyEvent::F(1) represents F1 key, etc.
Char(char)
A character.
KeyEvent::Char('c') represents c character, etc.
Null
Null.
Esc
Escape key.
Trait Implementations
impl Copy for KeyCode
impl Eq for KeyCode
impl StructuralEq for KeyCode
impl StructuralPartialEq for KeyCode
Auto Trait Implementations
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnwindSafe for KeyCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more