pub enum InputEvent {
Key(String),
Ctrl(u8),
Enter,
CarriageReturn,
Backspace,
ArrowUp,
ArrowLeft,
ArrowRight,
ArrowDown,
}
Expand description
§InputEvent
InputEvent enum represents an Input Event got from user on a read call
Variants§
Trait Implementations§
Source§impl Debug for InputEvent
impl Debug for InputEvent
Source§impl PartialEq for InputEvent
impl PartialEq for InputEvent
impl StructuralPartialEq for InputEvent
Auto Trait Implementations§
impl Freeze for InputEvent
impl RefUnwindSafe for InputEvent
impl Send for InputEvent
impl Sync for InputEvent
impl Unpin for InputEvent
impl UnwindSafe for InputEvent
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