pub struct EventReader { /* private fields */ }Expand description
A reader of events from the terminal’s input handle.
Note that this type wraps an Arc and is cheap to clone. If the event-stream feature is
enabled then this value should be passed to EventStream::new.
Implementations§
Trait Implementations§
Source§impl Clone for EventReader
impl Clone for EventReader
Source§fn clone(&self) -> EventReader
fn clone(&self) -> EventReader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EventReader
impl !RefUnwindSafe for EventReader
impl Send for EventReader
impl Sync for EventReader
impl Unpin for EventReader
impl !UnwindSafe for EventReader
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