pub struct Events {
pub tx: Sender<InputEvent>,
/* private fields */
}Expand description
A small event handler that wrap crossterm input and tick event. Each event
type is handled in its own thread and returned to a common Receiver
Fields§
§tx: Sender<InputEvent>Implementations§
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl !Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
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