Struct show_image::event::DeviceMouseMotionEvent
source · [−]Expand description
The physical position of a pointing device was moved.
This represents raw, unfiltered physical motion.
Not to be confused with WindowMouseMoveEvent
.
Fields
device_id: DeviceId
The ID of the device.
delta: Vec2
The relative motion.
Trait Implementations
sourceimpl Clone for DeviceMouseMotionEvent
impl Clone for DeviceMouseMotionEvent
sourcefn clone(&self) -> DeviceMouseMotionEvent
fn clone(&self) -> DeviceMouseMotionEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeviceMouseMotionEvent
impl Debug for DeviceMouseMotionEvent
sourceimpl From<DeviceMouseMotionEvent> for DeviceEvent
impl From<DeviceMouseMotionEvent> for DeviceEvent
sourcefn from(other: DeviceMouseMotionEvent) -> Self
fn from(other: DeviceMouseMotionEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DeviceMouseMotionEvent
impl Send for DeviceMouseMotionEvent
impl Sync for DeviceMouseMotionEvent
impl Unpin for DeviceMouseMotionEvent
impl UnwindSafe for DeviceMouseMotionEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more