#[repr(C)]pub struct miracle_pointer_event_t {
pub x: f32,
pub y: f32,
pub action: u32,
pub modifiers: u32,
pub buttons: u32,
}Expand description
Describes a pointer event.
Fields§
§x: f32The x position of the pointer.
y: f32The y position of the pointer.
action: u32The pointer action.
This is one of the MirPointerAction values.
modifiers: u32The modifiers held during the event.
The buttons held during the event.
Trait Implementations§
Source§impl Clone for miracle_pointer_event_t
impl Clone for miracle_pointer_event_t
Source§fn clone(&self) -> miracle_pointer_event_t
fn clone(&self) -> miracle_pointer_event_t
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 miracle_pointer_event_t
impl Debug for miracle_pointer_event_t
Source§impl Default for miracle_pointer_event_t
impl Default for miracle_pointer_event_t
Source§fn default() -> miracle_pointer_event_t
fn default() -> miracle_pointer_event_t
Returns the “default value” for a type. Read more
impl Copy for miracle_pointer_event_t
Auto Trait Implementations§
impl Freeze for miracle_pointer_event_t
impl RefUnwindSafe for miracle_pointer_event_t
impl Send for miracle_pointer_event_t
impl Sync for miracle_pointer_event_t
impl Unpin for miracle_pointer_event_t
impl UnsafeUnpin for miracle_pointer_event_t
impl UnwindSafe for miracle_pointer_event_t
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