pub struct MouseMoveEvent {
pub position: Point<Pixels>,
pub pressed_button: Option<MouseButton>,
pub modifiers: Modifiers,
}Expand description
A mouse move event from the platform.
Fields§
§position: Point<Pixels>The position of the mouse on the window.
The mouse button that was pressed, if any.
modifiers: ModifiersThe modifiers that were held down when the mouse was moved.
Implementations§
Trait Implementations§
Source§impl Clone for MouseMoveEvent
impl Clone for MouseMoveEvent
Source§impl Debug for MouseMoveEvent
impl Debug for MouseMoveEvent
Auto Trait Implementations§
impl Freeze for MouseMoveEvent
impl RefUnwindSafe for MouseMoveEvent
impl Send for MouseMoveEvent
impl Sync for MouseMoveEvent
impl Unpin for MouseMoveEvent
impl UnsafeUnpin for MouseMoveEvent
impl UnwindSafe for MouseMoveEvent
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