pub struct Mouse {Show 14 fields
pub left_button_state: ElementState,
pub middle_button_state: ElementState,
pub right_button_state: ElementState,
pub last_click_timestamp: Instant,
pub last_click_button: MouseButton,
pub click_state: ClickState,
pub accumulated_scroll: AccumulatedScroll,
pub cell_side: Side,
pub lines_scrolled: f32,
pub block_hint_launcher: bool,
pub hint_highlight_dirty: bool,
pub inside_text_area: bool,
pub x: usize,
pub y: usize,
}Expand description
State of the mouse.
Fields§
§last_click_timestamp: Instant§click_state: ClickState§accumulated_scroll: AccumulatedScroll§cell_side: Side§lines_scrolled: f32§block_hint_launcher: bool§hint_highlight_dirty: bool§inside_text_area: bool§x: usize§y: usize