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
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Mouse
impl Send for Mouse
impl Sync for Mouse
impl Unpin for Mouse
impl UnwindSafe for Mouse
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