#[repr(C, packed(1))]pub struct MouseReport {
pub buttons: u8,
pub x: i8,
pub y: i8,
pub wheel: i8,
}Expand description
Mouse report structure
Fields§
§x: i8§y: i8§wheel: i8Implementations§
Trait Implementations§
Source§impl Clone for MouseReport
impl Clone for MouseReport
Source§fn clone(&self) -> MouseReport
fn clone(&self) -> MouseReport
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 MouseReport
impl Debug for MouseReport
Source§impl Default for MouseReport
impl Default for MouseReport
Source§fn default() -> MouseReport
fn default() -> MouseReport
Returns the “default value” for a type. Read more
impl Copy for MouseReport
Auto Trait Implementations§
impl Freeze for MouseReport
impl RefUnwindSafe for MouseReport
impl Send for MouseReport
impl Sync for MouseReport
impl Unpin for MouseReport
impl UnsafeUnpin for MouseReport
impl UnwindSafe for MouseReport
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