pub struct TouchMotion {
pub device: Device,
pub time: u64,
pub touch_id: u32,
pub x: f32,
pub y: f32,
}Fields§
§device: Device§time: u64§touch_id: u32§x: f32§y: f32Trait Implementations§
source§impl Clone for TouchMotion
impl Clone for TouchMotion
source§fn clone(&self) -> TouchMotion
fn clone(&self) -> TouchMotion
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 TouchMotion
impl Debug for TouchMotion
source§impl DeviceEvent for TouchMotion
impl DeviceEvent for TouchMotion
source§impl PartialEq for TouchMotion
impl PartialEq for TouchMotion
impl StructuralPartialEq for TouchMotion
Auto Trait Implementations§
impl Freeze for TouchMotion
impl RefUnwindSafe for TouchMotion
impl Send for TouchMotion
impl Sync for TouchMotion
impl Unpin for TouchMotion
impl UnwindSafe for TouchMotion
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)