pub enum KeyInput {
Codepoint(char),
Byte(u8),
Special(i32),
}
Variants§
Codepoint(char)
Byte(u8)
A raw byte, not part of a unicode codepoint. This is generated when invalid UTF-8 is input.
Special(i32)
A key not inputting a printable character.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyInput
impl RefUnwindSafe for KeyInput
impl Send for KeyInput
impl Sync for KeyInput
impl Unpin for KeyInput
impl UnwindSafe for KeyInput
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