pub struct InputEvents {
pub key_events: Vec<KeyEvent>,
pub mouse_events: Vec<MouseEvent>,
}
Fields§
§key_events: Vec<KeyEvent>
§mouse_events: Vec<MouseEvent>
Implementations§
Source§impl InputEvents
impl InputEvents
pub fn new(reader: &mut AsyncReader) -> InputEvents
Auto Trait Implementations§
impl Freeze for InputEvents
impl RefUnwindSafe for InputEvents
impl Send for InputEvents
impl Sync for InputEvents
impl Unpin for InputEvents
impl UnwindSafe for InputEvents
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