Struct leetcode_tui_rs::app_ui::event::EventHandler
source · pub struct EventHandler {
pub sender: Sender<Event>,
pub receiver: Receiver<Event>,
}
Expand description
Terminal event handler.
Fields§
§sender: Sender<Event>
Event sender channel.
receiver: Receiver<Event>
Event receiver channel.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EventHandler
impl Send for EventHandler
impl !Sync for EventHandler
impl Unpin for EventHandler
impl UnwindSafe for EventHandler
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