Struct sciter::windowless::MouseEvent
source · [−]pub struct MouseEvent {
pub event: MOUSE_EVENTS,
pub button: MOUSE_BUTTONS,
pub modifiers: KEYBOARD_STATES,
pub pos: POINT,
}
Expand description
Events describing the mouse input.
Fields
event: MOUSE_EVENTS
A specific mouse event, like “mouse down” or “mouse move”.
Which mouse button is pressed.
modifiers: KEYBOARD_STATES
Which keyboard modifier (e.g. Ctrl or Alt) is pressed.
pos: POINT
Mouse cursor position.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MouseEvent
impl Send for MouseEvent
impl Sync for MouseEvent
impl Unpin for MouseEvent
impl UnwindSafe for MouseEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more