#[repr(C)]pub struct SimplePointerState {
pub relative_movement_x: i32,
pub relative_movement_y: i32,
pub relative_movement_z: i32,
pub left_button: u8,
pub right_button: u8,
}
Fields§
§relative_movement_x: i32
§relative_movement_y: i32
§relative_movement_z: i32
Trait Implementations§
source§impl Clone for SimplePointerState
impl Clone for SimplePointerState
source§fn clone(&self) -> SimplePointerState
fn clone(&self) -> SimplePointerState
Returns a copy 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 SimplePointerState
impl Debug for SimplePointerState
source§impl Default for SimplePointerState
impl Default for SimplePointerState
source§fn default() -> SimplePointerState
fn default() -> SimplePointerState
Returns the “default value” for a type. Read more
source§impl PartialEq for SimplePointerState
impl PartialEq for SimplePointerState
impl Copy for SimplePointerState
impl Eq for SimplePointerState
impl StructuralPartialEq for SimplePointerState
Auto Trait Implementations§
impl Freeze for SimplePointerState
impl RefUnwindSafe for SimplePointerState
impl Send for SimplePointerState
impl Sync for SimplePointerState
impl Unpin for SimplePointerState
impl UnwindSafe for SimplePointerState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)