Enum leetcode_tui_rs::app_ui::event::Event
source · pub enum Event {
Tick,
Key(KeyEvent),
Mouse(MouseEvent),
Resize(u16, u16),
}
Expand description
Terminal events.
Variants§
Tick
Terminal tick.
Key(KeyEvent)
Key press.
Mouse(MouseEvent)
Mouse click/scroll.
Resize(u16, u16)
Terminal resize.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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