pub struct MouseEvent {
pub kind: MouseKind,
pub x: u16,
pub y: u16,
pub fine_x: f32,
pub mods: Mods,
}Fields§
§kind: MouseKind§x: u16§y: u16§fine_x: f32x with the fraction of a cell, where the terminal reports pixels. Proportional
text needs this: a cell can hold two thin letters.
mods: ModsTrait Implementations§
Source§impl Clone for MouseEvent
impl Clone for MouseEvent
impl Copy for MouseEvent
Source§impl Debug for MouseEvent
impl Debug for MouseEvent
Source§impl PartialEq for MouseEvent
impl PartialEq for MouseEvent
impl StructuralPartialEq for MouseEvent
Auto Trait Implementations§
impl Freeze for MouseEvent
impl RefUnwindSafe for MouseEvent
impl Send for MouseEvent
impl Sync for MouseEvent
impl Unpin for MouseEvent
impl UnsafeUnpin for MouseEvent
impl UnwindSafe for MouseEvent
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