pub struct MouseInput {
pub event: MouseEvent,
pub column: u16,
pub row: u16,
pub modifiers: Modifiers,
}Expand description
Mouse input received from the terminal.
Emitted by the input driver for mouse events.
Fields§
§event: MouseEventType of mouse event
column: u16Column position (0-indexed)
row: u16Row position (0-indexed)
modifiers: ModifiersActive keyboard modifiers
Trait Implementations§
Source§impl Clone for MouseInput
impl Clone for MouseInput
Source§fn clone(&self) -> MouseInput
fn clone(&self) -> MouseInput
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 moreSource§impl Debug for MouseInput
impl Debug for MouseInput
Source§impl Event for MouseInput
impl Event for MouseInput
Source§impl PartialEq for MouseInput
impl PartialEq for MouseInput
impl Eq for MouseInput
impl StructuralPartialEq for MouseInput
Auto Trait Implementations§
impl Freeze for MouseInput
impl RefUnwindSafe for MouseInput
impl Send for MouseInput
impl Sync for MouseInput
impl Unpin for MouseInput
impl UnsafeUnpin for MouseInput
impl UnwindSafe for MouseInput
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