#[repr(C)]pub struct MouseMotionEvent {
pub type_: byte,
pub which: byte,
pub state: byte,
pub x: UINT16,
pub y: UINT16,
pub xrel: UINT16,
pub yrel: UINT16,
}Expand description
@ingroup display \brief Mouse motion event structure (For future)
Fields§
§type_: byte< MOUSE_MOTION_INPUT_EVENT
which: byte< The mouse device index
state: byte< The current button state
x: UINT16< The X/Y coordinates of the mouse
y: UINT16< The X/Y coordinates of the mouse
xrel: UINT16< The relative motion in the X direction
yrel: UINT16< The relative motion in the Y direction
Trait Implementations§
Source§impl Clone for MouseMotionEvent
impl Clone for MouseMotionEvent
Source§fn clone(&self) -> MouseMotionEvent
fn clone(&self) -> MouseMotionEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MouseMotionEvent
impl Debug for MouseMotionEvent
Source§impl Default for MouseMotionEvent
impl Default for MouseMotionEvent
Source§fn default() -> MouseMotionEvent
fn default() -> MouseMotionEvent
Returns the “default value” for a type. Read more
impl Copy for MouseMotionEvent
Auto Trait Implementations§
impl Freeze for MouseMotionEvent
impl RefUnwindSafe for MouseMotionEvent
impl Send for MouseMotionEvent
impl Sync for MouseMotionEvent
impl Unpin for MouseMotionEvent
impl UnwindSafe for MouseMotionEvent
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