pub struct Touch {
pub x: u16,
pub y: u16,
}Expand description
Where a finger is on the touchpad. Both axes run from 0 to TOUCH_MAX;
x grows to the right and y grows toward the handle.
Fields§
§x: u16§y: u16Implementations§
Trait Implementations§
impl Copy for Touch
impl Eq for Touch
impl StructuralPartialEq for Touch
Auto Trait Implementations§
impl Forget for Touch
impl Freeze for Touch
impl Move for Touch
impl RefUnwindSafe for Touch
impl Send for Touch
impl Sync for Touch
impl Unpin for Touch
impl UnsafeUnpin for Touch
impl UnwindSafe for Touch
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