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 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 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